C#
VB
WinRT C#
Measure the text size and return the result.
public Leadtools.LeadSizeD GetTextSize(
string text,
Leadtools.Annotations.Core.AnnFont annFont,
Leadtools.LeadSizeD layoutArea,
bool wordWrap
)
Public Function GetTextSize( _
ByVal text As String, _
ByVal annFont As Leadtools.Annotations.Core.AnnFont, _
ByVal layoutArea As Leadtools.LeadSizeD, _
ByVal wordWrap As Boolean _
) As Leadtools.LeadSizeD
public Leadtools.LeadSizeD GetTextSize(
string text,
Leadtools.Annotations.Core.AnnFont annFont,
Leadtools.LeadSizeD layoutArea,
bool wordWrap
)
function Leadtools.Annotations.Rendering.AnnD2DTextObjectRenderer.GetTextSize(
text ,
annFont ,
layoutArea ,
wordWrap
)
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.
The size of the text in container units.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET