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):
...
| Parameter | Type | Description |
|---|---|---|
| slide | IBaseSlide | The slide to search. |
| text | str | The text to search for within text frames. |
| check_placeholder_text | bool | Indicates whether to include text frames that are empty, but whose placeholder text contains the search text. |
See Also
- class
IBaseSlide - class
ITextFrame - class
SlideUtil - module
aspose.slides.util - library
Aspose.Slides