VintaSoft Imaging .NET SDK v8.5
set_CenterImage Method
Vintasoft.Imaging.Html5 Namespace > WebImageViewerJS type : set_CenterImage Method
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.
Sets a value indicating whether the image is centered in the viewer.
Syntax
var instance = new Vintasoft.Imaging.Html5.WebImageViewerJS(controlId);
var returnValue; // Type: any

// Parameters
var value; // Type:  boolean

returnValue = instance.set_CenterImage(value);
function set_CenterImage( 
   value : 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.
Browser Compatibility
9
5
11
5
See Also

Reference

WebImageViewerJS type