ImageGear .NET
GetAutoFitSize Method (ImGearARTText)




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 ImGearARTText
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

ImGearARTText Class
ImGearARTText Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback