Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- pageView
- The page view control that contains text mark.
- pageDisplay
- The page display of the page view control.
- autoFitMode
- The auto fit mode.
Return Value
ImageGear.Core.ImGearSize value with necessary dimensions of the mark's bounds.Calculated bounding box size depends on the autoFitMode. Possible values are:
- ImGearARTTextAutoFitMode.AdjustHeight - in this mode the width remains unchanged, the height is adjusted to fit entire text without clipping.
- ImGearARTTextAutoFitMode.AdjustWidth - in this mode the height remains unchanged, the width is adjusted to fit the widest text line without clipping from the right.
- ImGearARTTextAutoFitMode.AdjustHeight | ImGearARTTextAutoFitMode.AdjustWidth - in this mode both height and width are adjusted to fit entire text without clipping.