get_text_boxes_contains_text method

get_text_boxes_contains_text

Returns all text frames on the specified slide that contain the given text.

Returns

An array of ITextFrame objects that contain the specified text.

@staticmethod
def get_text_boxes_contains_text(slide, text, check_placeholder_text):
    ...
ParameterTypeDescription
slideIBaseSlideThe slide to search.
textstrThe text to search for within text frames.
check_placeholder_textboolIndicates whether to include text frames that are empty, but whose placeholder text contains the search text.

See Also