←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.12.13
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.