VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Html5 Namespace / WebAnnotationFontJS type
In This Topic
    WebAnnotationFontJS type
    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.Html5.WebAnnotationFontJS(size, familyName, italic, bold, strikeout, underline);
    function WebAnnotationFontJS;
    Inheritance Hierarchy

    Object
       Vintasoft.Imaging.Annotation.Html5.WebAnnotationFontJS

    Browser Compatibility
    9
    5
    15
    5
    Constructors
     NameDescription
    public ConstructorDefines a font, which can be used for drawing text of the annotation.  
    Top
    Methods
     NameDescription
    public MethodCreates a new annotation font that is a copy of the current annotation font.  
    public MethodCopies the state of the current annotation font to the target annotation font.  
    public MethodDetermines that this annotation font is equals to the specified annotation font.  
    public MethodGets a value that indicates whether the font is bold.  
    public MethodGets the name of the font family.  
    public MethodGets a value that indicates whether the font is italic.  
    public MethodGets the text size.  
    public MethodGets a value that indicates whether the font is strikeout.  
    public MethodGets a value that indicates whether the font is underlined.  
    public MethodSets a value that indicates whether the font is bold.  
    public MethodSets the name of the font family.  
    public MethodSets a value that indicates whether the font is italic.  
    public MethodSets the text size.  
    public MethodSets a value that indicates whether the font is strikeout.  
    public MethodSets a value that indicates whether the font is underlined.  
    Top
    Events
     NameDescription
    public EventOccurs when annotation font property is changed.  
    public EventOccurs when annotation font property is changing.  
    Top
    See Also