Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

GetTextSize Method







The source text string
The font to use
Clipping size to use.
Returns the size of a text with a AnnFont and clipping size.
Syntax
public static LeadSizeD GetTextSize( 
   string text,
   AnnFont font,
   LeadSizeD layoutArea
)
'Declaration
 
Public Shared Function GetTextSize( _
   ByVal text As String, _
   ByVal font As AnnFont, _
   ByVal layoutArea As LeadSizeD _
) As LeadSizeD
'Usage
 
Dim text As String
Dim font As AnnFont
Dim layoutArea As LeadSizeD
Dim value As LeadSizeD
 
value = AnnJavaRenderingEngine.GetTextSize(text, font, layoutArea)
public static LeadSizeD GetTextSize( 
   string text,
   AnnFont font,
   LeadSizeD layoutArea
)
public LeadSizeD getTextSize(String text, AnnFont font, LeadSizeD layoutArea)
 function Leadtools.Annotations.Rendering.AnnJavaRenderingEngine_java.GetTextSize( 
   text ,
   font ,
   layoutArea 
)

Parameters

text
The source text string
font
The font to use
layoutArea
Clipping size to use.

Return Value

The size of the text.
Requirements

Target Platforms

See Also

Reference

AnnJavaRenderingEngine Class
AnnJavaRenderingEngine 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