Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

GetTextSize Method (AnnSvgTextObjectRenderer)

Show in webframe
The text string to measure.
The font to use.
The maximum layout area for the text.
Gets the size of a string of text.
Syntax
 function Leadtools.Annotations.Rendering.AnnSvgTextObjectRenderer.getTextSize( 
   text ,
   annFont ,
   layoutArea 
)

Parameters

ParameterTypeDescription
textstringThe text string to measure.
annFontAnnFontThe font to use.
layoutAreaLeadSizeDThe maximum layout area for the text.
Remarks

This method is called by the renderer to measure the size of a text string using a specific font and clipping rectangle. Derived classes can override this method and provide their own implementation.

See Also

Reference

AnnSvgTextObjectRenderer Object
AnnSvgTextObjectRenderer Members

Error processing SSI file