getTextSize Method

Summary

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

Syntax

JavaScript Syntax
getTextSize = function(text, annFont, layoutArea) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly