Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents.Converters Namespace > DocumentConverterJobData Structure : RasterImageFormat Property |
public RasterImageFormat RasterImageFormat {get; set;}
'Declaration
Public Property RasterImageFormat As RasterImageFormat
'Usage
Dim instance As DocumentConverterJobData Dim value As RasterImageFormat instance.RasterImageFormat = value value = instance.RasterImageFormat
public RasterImageFormat getRasterImageFormat() public void setRasterImageFormat(RasterImageFormat value)
public: property RasterImageFormat RasterImageFormat { RasterImageFormat get(); void set ( RasterImageFormat value); }
Jobs can be converted using document or raster formats for the output. To convert to a document format (using DocumentWriter), set DocumentFormat to the desired DocumentFormat value and set RasterImageFormat to RasterImageFormat.Unknown.
To convert to a raster format (using RasterCodecs), 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.
For an example, refer to RunJob and RunJobAsync.