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

Leadtools.Annotations.Rendering.JavaScript Assembly

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