VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Pdf Namespace / WebPdfImageResourceJS type / WebPdfImageResourceJS Constructor(WebPdfDocumentJS,string,number,object,WebPixelFormatEnumJS)
Syntax BrowserCompatibility SeeAlso
In This Topic
    WebPdfImageResourceJS Constructor(WebPdfDocumentJS,string,number,object,WebPixelFormatEnumJS)
    In This Topic
    Initializes a new instance of the WebPdfImageResourceJS class.
    Syntax
    // Parameters
    var document; // Type: WebPdfDocumentJS
    var compression; // Type: string
    var length; // Type: number
    var size; // Type: object
    var pixelFormat; // Type: WebPixelFormatEnumJS
    
    var instance = new Vintasoft.Imaging.Pdf.WebPdfImageResourceJS(document, compression, length, size, pixelFormat);
    
    
    function WebPdfImageResourceJS(
    document
    An instance of WebPdfDocumentJS class.
    : WebPdfDocumentJS,
    compression
    Compression of this resource.
    : string,
    length
    Length, in bytes, of the resource.
    : number,
    size
    Image size.
    : object,
    pixelFormat
    An instance of WebPixelFormatEnumJS class that defines the image pixel format.
    : WebPixelFormatEnumJS
    ) : WebPdfImageResourceJS;

    Parameters

    document
    An instance of WebPdfDocumentJS class.
    compression
    Compression of this resource.
    length
    Length, in bytes, of the resource.
    size
    Image size.
    pixelFormat
    An instance of WebPixelFormatEnumJS class that defines the image pixel format.
    Browser Compatibility
    56+
    45+
    11
    See Also