VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Dicom Namespace / WebVintasoftFontPropertiesJS type / WebVintasoftFontPropertiesJS Constructor(string,number,string,boolean,boolean,boolean,boolean)
Syntax BrowserCompatibility SeeAlso
In This Topic
WebVintasoftFontPropertiesJS Constructor(string,number,string,boolean,boolean,boolean,boolean)
In This Topic
Initializes a new instance of the WebVintasoftFontPropertiesJS class.
Syntax
// Parameters
var name; // Type: string
var size; // Type: number
var color; // Type: string
var isBold; // Type: boolean
var isItalic; // Type: boolean
var isUnderline; // Type: boolean
var isStrikeout; // Type: boolean

var instance = new Vintasoft.Imaging.Dicom.WebVintasoftFontPropertiesJS(name, size, color, isBold, isItalic, isUnderline, isStrikeout);

Parameters

name
The font name.
size
The font size, in points.
color
The font color. The string that represents HTML color ("black", "red", "transparent", "rgb(255,255,255)", "rgba(255,255,255,0.5)").
isBold
A value indicating whether font is bold.
isItalic
A value indicating whether font is italic.
isUnderline
A value indicating whether font is underlined.
isStrikeout
A value indicating whether font is strikeout.
Browser Compatibility
56+
45+
11
See Also