measureTextHeight Method (AnnHtml5RenderingEngine)

Summary

Represents a helper method to measure the text height of an AnnFont in a HTML 5 canvas context.

Syntax

JavaScript Syntax
measureTextHeight = function(context, font)
TypeScript Syntax
static measureTextHeight(context: CanvasRenderingContext2D, font: AnnFont): number;

Parameters

context

The destination canvas context.

font

The font to use.

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