Aspose::Pdf::Text::TextFragmentState::IsFitRectangle method

TextFragmentState::IsFitRectangle method

Checks if input string could be placed inside defined rectangle.

bool Aspose::Pdf::Text::TextFragmentState::IsFitRectangle(System::String str, System::SharedPtr<Rectangle> rect)
ParameterTypeDescription
strSystem::StringString to check.
rectSystem::SharedPtr<Rectangle>Rectangle to check.

ReturnValue

True if string fit rectangle; otherwise false.

See Also