GetTextBoxesContainsText
SlideUtil.GetTextBoxesContainsText method
Returns all text frames on the specified slide that contain the given text.
public static ITextFrame[] GetTextBoxesContainsText(IBaseSlide slide, string text,
bool checkPlaceholderText)
Parameter | Type | Description |
---|---|---|
slide | IBaseSlide | The slide to search. |
text | String | The text to search for within text frames. |
checkPlaceholderText | Boolean | 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
- interface ITextFrame
- interface IBaseSlide
- class SlideUtil
- namespace Aspose.Slides.Util
- assembly Aspose.Slides