←Select platform

MeasureString Method (AnnD2DRenderingEngine)

Summary
Measures the specified string when drawn with the specified font.
Syntax
C#
public override LeadSizeD MeasureString(  
   string text, 
   AnnFont 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

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.