LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

MeasureString Method (AnnSvgRenderingEngine)

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.Rendering.AnnSvgRenderingEngine.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

AnnSvgRenderingEngine Object
AnnSvgRenderingEngine Members

 

 


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