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)
Parameter | Type | Description |
---|---|---|
str | System::String | String to check. |
rect | System::SharedPtr<Rectangle> | Rectangle to check. |
ReturnValue
True if string fit rectangle; otherwise false.
See Also
- Class String
- Typedef SharedPtr
- Class Rectangle
- Class TextFragmentState
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++