Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

MeasureString Method (AnnJavaRenderingEngine_java)







The string to measure.
The font that defines the text format of the string.
Measures the specified string when drawn using the specified font.
Syntax
public LeadSizeD MeasureString( 
   string text,
   AnnFont font
)
'Declaration
 
Public Function MeasureString( _
   ByVal text As String, _
   ByVal font As AnnFont _
) As LeadSizeD
'Usage
 
Dim instance As AnnJavaRenderingEngine
Dim text As String
Dim font As AnnFont
Dim value As LeadSizeD
 
value = instance.MeasureString(text, font)
public LeadSizeD MeasureString( 
   string text,
   AnnFont font
)
public LeadSizeD measureString(string text, AnnFont font)
 function Leadtools.Annotations.Rendering.AnnJavaRenderingEngine_java.MeasureString( 
   text ,
   font 
)

Parameters

text
The string to measure.
font
The 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

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