Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

GetTextSize Method (AnnD2DTextObjectRenderer)







Text to measure.
Font to use in measurement.
Clipping layout area.
A value that indicates whether the text we want to get its size is wrapped or no.
Measure the text size and return the result.
Syntax
'Declaration
 
Public Function GetTextSize( _
   ByVal text As String, _
   ByVal annFont As AnnFont, _
   ByVal layoutArea As LeadSizeD, _
   ByVal wordWrap As Boolean _
) As LeadSizeD
'Usage
 
Dim instance As AnnD2DTextObjectRenderer
Dim text As String
Dim annFont As AnnFont
Dim layoutArea As LeadSizeD
Dim wordWrap As Boolean
Dim value As LeadSizeD
 
value = instance.GetTextSize(text, annFont, layoutArea, wordWrap)
 function Leadtools.Annotations.Rendering.AnnD2DTextObjectRenderer.GetTextSize( 
   text ,
   annFont ,
   layoutArea ,
   wordWrap 
)

Parameters

text
Text to measure.
annFont
Font to use in measurement.
layoutArea
Clipping layout area.
wordWrap
A value that indicates whether the text we want to get its size is wrapped or no.

Return Value

The size of the text in container units.
Requirements

Target Platforms

See Also

Reference

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