VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Annotation.Html5 Namespace / WebAnnotationViewerJS type / set_ImageSizeMode Method
An instance of WebImageSizeModeEnumJS class. Default value is "Normal".
In This Topic
    set_ImageSizeMode Method
    In This Topic
    Sets a value indicating how an image is positioned within the viewer.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.Html5.WebAnnotationViewerJS(controlId);
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type:  object
    
    returnValue = instance.set_ImageSizeMode(value);
    function set_ImageSizeMode( 
       value : object
    ) : any;

    Parameters

    value
    An instance of WebImageSizeModeEnumJS class. Default value is "Normal".
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    5
    15
    5
    See Also