←Select platform

MeasureString Method (AnnJavaRenderingEngine_java)

Summary
Measures the specified string when drawn using the specified font.
Syntax
Java
public LeadSizeD measureString(string text, AnnFont font) 

Parameters

text
The string to measure.

font
The 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.2021.8.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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