myTextItem.convertToShape() in Photoshop DOM

converts the text item and its containing layer to a fill layer with the text changed to a clipping path

Return Type
(none)