VintaSoft Imaging .NET SDK v8.6
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.
In This Topic
    set_CenterImage Method
    In This Topic
    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