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

Leadtools.Annotations.Rendering.JavaScript Assembly