VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebLineCapJS type / set_Size Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_Size Method
In This Topic
Gets or sets the size of the cap.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebLineCapJS(style, size);

var returnValue; // Type: any

// Parameters
var width; // Type: number
var height; // Type: number

returnValue = instance.set_Size(width, height);

Parameters

width
Annotation width.
height
Annotation height.
Exceptions
ExceptionDescription
Thrown if arguments have wrong types.
Thrown if size is negative.
Browser Compatibility
56+
45+
11
See Also