VintaSoft Imaging .NET SDK v8.5
set_Color Method
Vintasoft.Imaging.Annotation.Html5 Namespace > WebAnnotationPenJS type : set_Color Method
Pen color, for example, 'Red' or 'rgba(125,125,125,0.8)'.
Sets the color of the pen.
Syntax
var instance = new Vintasoft.Imaging.Annotation.Html5.WebAnnotationPenJS(width,
                                                                        color,
                                                                        lineJoin,
                                                                        miterLimit,
                                                                        dashStyle,
                                                                        dashPattern,
                                                                        startCap,
                                                                        endCap);
var returnValue; // Type: any

// Parameters
var value; // Type:  string

returnValue = instance.set_Color(value);
function set_Color( 
   value : string
) : any;

Parameters

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

Reference

WebAnnotationPenJS type