set_OverlayPosition Method
In This Topic
Sets position of overlay image, in pixels.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebOverlayBinaryCommandJS();
var returnValue; // Type: any
// Parameters
var x; // Type: number
var y; // Type: number
returnValue = instance.set_OverlayPosition(x, y);
function set_OverlayPosition(
: number,
: number
) : any;
Parameters
- x
- X axis. Default value is 0.
- y
- Y axis. Default value is 0.
Exceptions
Exception | Description |
| Thrown if arguments have wrong types. |
| Thrown if coordinates are negative. |
Browser Compatibility
See Also