rasterImageFormat Property

Summary

Output format to use for raster conversion.

Syntax

JavaScript Syntax
Object.defineProperty(DocumentConverterJobData.prototype, 'rasterImageFormat', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
rasterImageFormat: RasterImageFormat; 

Property Value

The output format to use for raster conversion.

Remarks

Jobs can be converted using document or raster formats for the output. To convert to a document format (using LEADTOOLS Document Writer), set DocumentFormat to the desired DocumentFormat value and set RasterImageFormat to RasterImageFormat.Unknown.

To convert to a raster format (using LEADTOOLS Raster Codecs), set RasterImageFormat to the desired RasterImageFormat value and set DocumentFormat to DocumentFormat.User.

Therefore, one of DocumentFormat and RasterImageFormat is used during the conversion, otherwise, an exception will be thrown.

Use RasterImageBitsPerPixel to set the bits/pixel value to use for the output document when using raster conversion.

Example

For an example, refer to Convert.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly