MeasureCharacterRanges()
Contents
[
Hide
]Graphics::MeasureCharacterRanges(const System::String&, const SharedPtr<Font>&, RectangleF, const SharedPtr<StringFormat>&) 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)
Arguments
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.Slides