(Leadtools.Annotations.Rendering)

GetTextSize Method

Show in webframe




Text to measure.
Font to use in measurement.
Clipping layout area.
Measure the text size and return the result.
Syntax
public virtual LeadSizeD GetTextSize( 
   string text,
   AnnFont annFont,
   LeadSizeD layoutArea
)
public virtual LeadSizeD GetTextSize( 
   string text,
   AnnFont annFont,
   LeadSizeD layoutArea
)
-(LeadSizeD)getTextSize:(NSString*)text annFont:(LTAnnFont*)annFont layoutArea:(LeadSizeD)layoutArea;
            
LeadSizeD getTextSize(string text, AnnFont annFont, LeadSizeD layoutArea);
            
 function Leadtools.Annotations.Rendering.AnnTextObjectRenderer.GetTextSize( 
   text ,
   annFont ,
   layoutArea 
)

Parameters

text
Text to measure.
annFont
Font to use in measurement.
layoutArea
Clipping layout area.

Return Value

The size of the text in container units.
Requirements

Target Platforms

See Also

Reference

AnnTextObjectRenderer Class
AnnTextObjectRenderer Members

 

 


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