VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Html5 Namespace / WebAnnotationPenJS type / get_Color Method
In This Topic
    get_Color Method
    In This Topic
    Gets the color of the pen.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.Html5.WebAnnotationPenJS(width,
                                                                            color,
                                                                            lineJoin,
                                                                            miterLimit,
                                                                            dashStyle,
                                                                            dashPattern,
                                                                            startCap,
                                                                            endCap);
    var value; // Type: string
    value = instance.get_Color();
    function get_Color() : string;

    Return Value

    Pen color, for example, 'Red' or 'rgba(125,125,125,0.8)'.
    Browser Compatibility
    9
    5
    11
    5
    See Also