getTextSize Method (AnnHtml5RenderingEngine)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Rendering Assembly
Click or drag to resize