ImageGear .NET v25.2 - Updated
GetAutoFitSize Method (ImGearARTTypedText)




ImageGear.Art Assembly > ImageGear.ART Namespace > ImGearARTTypedText Class : GetAutoFitSize Method
The page view control that contains text mark.
The page display of the page view control.
The auto fit mode.
Calculates mark's bounding box size that will fit either entire text, or the widest text line of the text.
Syntax
'Declaration
 
Public Function GetAutoFitSize( _
   ByVal pageView As IImGearScrollableView, _
   ByVal pageDisplay As IImGearPageDisplay, _
   ByVal autoFitMode As ImGearARTTextAutoFitMode _
) As ImGearSize
'Usage
 
Dim instance As ImGearARTTypedText
Dim pageView As IImGearScrollableView
Dim pageDisplay As IImGearPageDisplay
Dim autoFitMode As ImGearARTTextAutoFitMode
Dim value As ImGearSize
 
value = instance.GetAutoFitSize(pageView, pageDisplay, autoFitMode)

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.
Remarks
Calculated bounding box size depends on the autoFitMode. Possible values are:
See Also

Reference

ImGearARTTypedText Class
ImGearARTTypedText Members

Is this page helpful?
Yes No
Thanks for your feedback.