←Select platform

RasterImageBitsPerPixel Property

Summary

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

Syntax

C#
VB
Java
C++
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.Converters Assembly