measureTextHeight Method

Summary

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

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

Parameters

context

The destination canvas context.

font

The font to use.

Requirements

Target Platforms

Help Version 22.0.2023.1.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.