In This Topic
Sets a value indicating whether the image is centered in the viewer.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);
var returnValue; // Type: any
// Parameters
var value; // Type: boolean
returnValue = instance.set_CenterImage(value);
function set_CenterImage(
: boolean
) : any;
Parameters
- value
- Indicates whether the viewer must center an image. True - image will be centered in the viewer; False - image will not be centered in the viewer. Default value is False.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also