(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
public abstract LeadSizeD MeasureString( 
   string text,
   AnnFont font
)
Public MustOverride Function MeasureString( _
   ByVal text As String, _
   ByVal font As AnnFont _
) As LeadSizeD
public abstract LeadSizeD MeasureString( 
   string text,
   AnnFont font
)
-(LeadSizeD) measureString:(NSString*)text font:(LTAnnFont*)font;
public LeadSizeD measureString(string text, AnnFont font)
 function Leadtools.Annotations.Core.AnnRenderingEngine.MeasureString( 
   text ,
   font 
)

Parameters

text
String to measure.
font
Font that defines the text format of the string.

Return Value

The size of the string in container coordinates.
Requirements

Target Platforms

See Also

Reference

AnnRenderingEngine Class
AnnRenderingEngine Members

 

 


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