VintaSoft Imaging .NET SDK v8.5
WebAnnotationFontJS Constructor
Vintasoft.Imaging.Annotation.Html5 Namespace > WebAnnotationFontJS type : WebAnnotationFontJS Constructor
The font size.
The name of the font family.
Indicates whether the font is italic.
Indicates whether the font is bold.
Indicates whether the font is strikeout.
Indicates whether the font is underlined.
Defines a font, which can be used for drawing text of the annotation.
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 instance = new Vintasoft.Imaging.Annotation.Html5.WebAnnotationFontJS(size, familyName, italic, bold, strikeout, underline);
function WebAnnotationFontJS( 
   size : number,
   familyName : string,
   italic : boolean,
   bold : boolean,
   strikeout : boolean,
   underline : boolean
) : WebAnnotationFontJS;

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.
Browser Compatibility
9
5
11
5
See Also

Reference

WebAnnotationFontJS type