setFont Method

Summary

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

Syntax

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

Parameters

context

Destination canvas context.

font

Font to set.

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