VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Svg 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.
In This Topic
    WebAnnotationFontJS Constructor
    In This Topic
    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.Svg.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
    15
    5
    See Also