LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

GetTextSize Method (AnnHtml5RenderingEngine)

Show in webframe
Text to measure.
Font to use.
Layout area in container coordinates.
Helper method to get the text size using the specified parameters.
Syntax
 function Leadtools.Annotations.Rendering.AnnHtml5RenderingEngine.getTextSize( 
   text ,
   annFont ,
   layoutArea 
)

Parameters

ParameterTypeDescription
textstringText to measure.
annFontAnnFontFont to use.
layoutAreaLeadSizeDLayout area in container coordinates.

Return Value

TypeDescription
LeadSizeD The size of the text in container coordinates.
See Also

Reference

AnnHtml5RenderingEngine Object
AnnHtml5RenderingEngine Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.