←Select platform

RasterImageBitsPerPixel Property

Summary

Bits per pixel to use for the output document when raster conversion is used.

Syntax
C#
C++/CLI
Java
Python
public int RasterImageBitsPerPixel { get; set; } 
public:  
   property int RasterImageBitsPerPixel 
   { 
      int get() 
      void set(int value) 
   } 
public int getRasterImageBitsPerPixel() 
public void setRasterImageBitsPerPixel(int value) 
RasterImageBitsPerPixel # get and set (DocumentConverterJobData) 

Property Value

The bits per pixel to use for the output document when raster conversion is used. Default value is 0.

Remarks

RasterImageBitsPerPixel is only used when the job uses raster conversion (the value of RasterImageFormat is not RasterImageFormat.Unknown).

This value is passed as the bitsPerPixel parameter to the RasterCodecs.Save method used during raster conversion. The default value of 0 means use the best bits per pixel from the input document and the values supported by the output document.

Requirements

Target Platforms

Help Version 22.0.2023.5.10
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Converter Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.