←Select platform

RasterImageBitsPerPixel Property

Summary

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

Syntax
C#
VB
C++
Java
public int RasterImageBitsPerPixel { get; set; } 
Public Property RasterImageBitsPerPixel() As Integer 
   Get 
   Set 
public:  
   property int RasterImageBitsPerPixel 
   { 
      int get() 
      void set(int value) 
   } 
public int getRasterImageBitsPerPixel() 
public void setRasterImageBitsPerPixel(int value) 

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.

Example

For an example, refer to RunJob and RunJobAsync.

Requirements

Target Platforms

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

Leadtools.Document.Converter Assembly