System::Drawing::Graphics::MeasureCharacterRanges method
Graphics::MeasureCharacterRanges method
Returns an array of regions each of which bounds character positions in the specified string.
ArrayPtr<SharedPtr<Region>> System::Drawing::Graphics::MeasureCharacterRanges(const System::String &text, const SharedPtr<Font> &font, RectangleF layoutRect, const SharedPtr<StringFormat> &stringFormat)
Parameter | Type | Description |
---|---|---|
text | const System::String& | The string to measure |
font | const SharedPtr<Font>& | The font used during the measurement of the string |
layoutRect | RectangleF | The layout rectangle used during the measurement of the string |
stringFormat | const SharedPtr<StringFormat>& | The string format, contaions the character ranges to measure |
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Region
- Class String
- Class Font
- Class RectangleF
- Class StringFormat
- Class Graphics
- Namespace System::Drawing
- Library Aspose.PDF for C++