ImageGear for .NET
GetAutoFitSize Method
See Also  Send Feedback
ImageGear21.Art Assembly > ImageGear.ART Namespace > ImGearARTTextFromFile Class : GetAutoFitSize Method




pageView
The page view control that contains text mark.
pageDisplay
The page display of the page view control.
autoFitMode
The auto fit mode.

Glossary Item Box

Calculates mark's bounding box size that will fit either entire text, or the widest text line of the text.

Syntax

 
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.

Remarks

Calculated bounding box size depends on the autoFitMode. Possible values are:

See Also

©2013. Accusoft Corporation. All Rights Reserved.