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);
function WebAnnotationFontJS(
: number,
: string,
: boolean,
: boolean,
: boolean,
: boolean,
: WebAnnotationFontUnitEnumJS
) : 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.
- unit
- Unit of measure for font.
Browser Compatibility
See Also