LEADTOOLS JavaScript (Leadtools.Annotations.Core)

MeasureString Method

Show in webframe
String to measure.
Font that defines the text format of the string.
Measures the specified string when drawn with the specified font.
Syntax
 function Leadtools.Annotations.Core.AnnRenderingEngine.measureString( 
   text ,
   font 
)

Parameters

ParameterTypeDescription
textstringString to measure.
fontAnnFontFont that defines the text format of the string.

Return Value

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

Reference

AnnRenderingEngine Object
AnnRenderingEngine Members

 

 


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