Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

GetTextSize Method (AnnTextObjectRenderer)







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
)
'Declaration
 
Public Overridable Function GetTextSize( _
   ByVal text As String, _
   ByVal annFont As AnnFont, _
   ByVal layoutArea As LeadSizeD _
) As LeadSizeD
'Usage
 
Dim instance As AnnTextObjectRenderer
Dim text As String
Dim annFont As AnnFont
Dim layoutArea As LeadSizeD
Dim value As LeadSizeD
 
value = instance.GetTextSize(text, annFont, layoutArea)
public virtual LeadSizeD GetTextSize( 
   string text,
   AnnFont annFont,
   LeadSizeD layoutArea
)
- (CGSize)getTextSize:(NSString *)text font:(LTAnnFont *)annFont rect:(LeadRectD)rect
public 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

Error processing SSI file
Leadtools.Annotations.Rendering requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features