←Select platform

GetTextSize Method (AnnD2DTextObjectRenderer)

Summary
Measure the text size and return the result.
Syntax
C#
public LeadSizeD GetTextSize(  
   string text, 
   AnnFont annFont, 
   LeadSizeD layoutArea, 
   bool 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

Help Version 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.