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(
: WebPdfDocumentJS,
: string,
: number,
: object,
: 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
See Also