VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationFontJS type / WebAnnotationFontJS Constructor(number,string,boolean,boolean,boolean,boolean,WebAnnotationFontUnitEnumJS)
Syntax BrowserCompatibility SeeAlso
In This Topic
WebAnnotationFontJS Constructor(number,string,boolean,boolean,boolean,boolean,WebAnnotationFontUnitEnumJS)
In This Topic
Initializes a new instance of the WebAnnotationFontJS class.
Syntax
// Parameters
var size; // Type: number
var familyName; // Type: string
var italic; // Type: boolean
var bold; // Type: boolean
var strikeout; // Type: boolean
var underline; // Type: boolean
var unit; // Type: WebAnnotationFontUnitEnumJS

var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationFontJS(size, familyName, italic, bold, strikeout, underline, unit);

Parameters

size
The font size.
familyName
The name of the font family.
italic
Indicates whether the font is italic.
bold
Indicates whether the font is bold.
strikeout
Indicates whether the font is strikeout.
underline
Indicates whether the font is underlined.
unit
Unit of measure for font.
Browser Compatibility
56+
45+
11
See Also