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

ParameterTypeDescription
slideSystem::SharedPtr<IBaseSlide>The slide to search.
textSystem::StringThe text to search for within text frames.
checkPlaceholderTextboolIndicates 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