LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)
LEAD Technologies, Inc

GetTextSize Method


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.AnnTextObjectRenderer.getTextSize( 
   text ,
   annFont ,
   layoutArea 
)
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!

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

AnnTextObjectRenderer Object
AnnTextObjectRenderer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.