VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebRulerAnnotationViewJS type / set_ForeColor Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_ForeColor Method
In This Topic
Sets the foreground color of annotation.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebRulerAnnotationViewJS();

var returnValue; // Type: any

// Parameters
var value; // Type: string

returnValue = instance.set_ForeColor(value);

Parameters

value
Foreground color. Default value is "rgba(0,0,0,1)".
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also