In This Topic
Sets the text padding within the annotation.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebTextAnnotationViewJS();
var returnValue; // Type: any
// Parameters
var left; // Type: number
var right; // Type: number
var top; // Type: number
var bottom; // Type: number
returnValue = instance.set_TextPadding(left, right, top, bottom);
function set_TextPadding(
: number,
: number,
: number,
: number
) : any;
Parameters
- left
- Left padding. Default value is 4.
- right
- Right padding. Default value is 4.
- top
- Top padding. Default value is 4.
- bottom
- Bottom padding. Default value is 4.
Exceptions
Exception | Description |
| Thrown if arguments have wrong types. |
Browser Compatibility
See Also