VintaSoft Imaging .NET SDK 15.2: Документация для Веб разработчика
Vintasoft.Imaging.Dicom Namespace / WebVintasoftFontPropertiesJS type / WebVintasoftFontPropertiesJS Constructor(string,number,string,boolean,boolean,boolean,boolean)
Syntax BrowserCompatibility SeeAlso
В этом разделе
WebVintasoftFontPropertiesJS Constructor(string,number,string,boolean,boolean,boolean,boolean)
В этом разделе
Initializes a new instance of the WebVintasoftFontPropertiesJS class.
Синтаксис
// 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
Имя шрифта.
size
Размер шрифта в пунктах.
color
Цвет шрифта. Строка, представляющая HTML-цвет ("black", "red", "transparent", "rgb(255,255,255)", "rgba(255,255,255,0.5)").
isBold
Значение, указывающее, является ли шрифт полужирным.
isItalic
Значение, указывающее, является ли шрифт курсивным.
isUnderline
Значение, указывающее, подчеркнут ли шрифт.
isStrikeout
Значение, указывающее, зачеркнут ли шрифт.
Совместимость с веб браузерами
9
5
11
5
Смотрите также