GetTextBoxesContainsText()
SlideUtil::GetTextBoxesContainsText(System::SharedPtr<IBaseSlide>, System::String, bool) method
Returns all text frames on the specified slide that contain the given text.
static System::ArrayPtr<System::SharedPtr<ITextFrame>> Aspose::Slides::Util::SlideUtil::GetTextBoxesContainsText(System::SharedPtr<IBaseSlide> slide, System::String text, bool checkPlaceholderText)
Arguments
Parameter | Type | Description |
---|---|---|
slide | System::SharedPtr<IBaseSlide> | The slide to search. |
text | System::String | The text to search for within text frames. |
checkPlaceholderText | bool | Indicates whether to include text frames that are empty, but whose placeholder text contains the search text. |
Return Value
An array of ITextFrame objects that contain the specified text.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class ITextFrame
- Class IBaseSlide
- Class String
- Class SlideUtil
- Namespace Aspose::Slides::Util
- Library Aspose.Slides