setFont Method

Summary

Represents a helper method to set an AnnFont in a HTML 5 canvas context.

Syntax
TypeScript
JavaScript
setFont = function( 
   context, 
   font 
) 
static setFont( 
   context: CanvasRenderingContext2D, 
   font: AnnFont 
): void; 

Parameters

context

Destination canvas context.

font

Font to set.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.