Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

MeasureString Method (AnnWinRTRenderingEngine)







String to measure.
Font that defines the text format of the string.
Measures the specified string when drawn with the specified font.
Syntax
public override LeadSizeD MeasureString( 
   string text,
   AnnFont font
)
'Declaration
 
Public Overrides Function MeasureString( _
   ByVal text As String, _
   ByVal font As AnnFont _
) As LeadSizeD
'Usage
 
Dim instance As AnnWinRTRenderingEngine
Dim text As String
Dim font As AnnFont
Dim value As LeadSizeD
 
value = instance.MeasureString(text, font)
public override LeadSizeD MeasureString( 
   string text,
   AnnFont font
)
 function Leadtools.Annotations.Rendering.AnnWinRTRenderingEngine.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

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