VintaSoft Imaging .NET SDK 12.4: 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);
    
    
    function WebAnnotationFontJS(
    size
    The font size.
    : number,
    familyName
    The name of the font family.
    : string,
    italic
    Indicates whether the font is italic.
    : boolean,
    bold
    Indicates whether the font is bold.
    : boolean,
    strikeout
    Indicates whether the font is strikeout.
    : boolean,
    underline
    Indicates whether the font is underlined.
    : boolean,
    unit
    Unit of measure for font.
    : 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
    56+
    45+
    11
    See Also