getTextSize Method

Summary

Helper method to get the text size using the specified parameters.

Syntax
TypeScript
JavaScript
getTextSize = function( 
   text, 
   annFont, 
   layoutArea 
) 
static getTextSize( 
   text: string, 
   annFont: AnnFont, 
   layoutArea: LeadSizeD 
): LeadSizeD; 

Parameters

text

Text to measure.

annFont

Font to use.

layoutArea

Layout area in container coordinates.

Return Value

The size of the text in container coordinates.

Requirements

Target Platforms

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

Leadtools.Annotations.Rendering.JavaScript Assembly

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