VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Dicom Namespace / WebDicomViewerBaseControlJS type / set_ZoomAtCenter Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    set_ZoomAtCenter Method
    In This Topic
    Sets a value indicating whether DICOM viewer should zoom DICOM image relative to an image center.
    Syntax
    var instance = new Vintasoft.Imaging.Dicom.WebDicomViewerBaseControlJS(parentDiv);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: boolean
    
    returnValue = instance.set_ZoomAtCenter(value);
    
    
    function set_ZoomAtCenter(
    value
    True - DICOM viewer should zoom DICOM image relative to an image center; False - DICOM viewer should zoom DICOM image relative to the mouse position. Default value is false.
    : boolean
    ) : any;

    Parameters

    value
    True - DICOM viewer should zoom DICOM image relative to an image center; False - DICOM viewer should zoom DICOM image relative to the mouse position. Default value is false.
    Browser Compatibility
    56+
    45+
    11
    See Also