BitsPerPixel property (IEpnRasterOptions)

Visual Basic example

Visual C++ example

 

Syntax

long BitsPerPixel;

Overview

Refer to Setting and Getting ePrint Printer Specifications.

Remarks

Gets or sets the resulting file's pixel depth. Note that not all bits per pixel are available for all file formats. For valid values, refer to: Summary of Supported File Formats. If the value of the BitsPerPixel property is 0, the file will be stored using the closest bits per pixel value supported by that format. For example, if a file format supports 1, 4, and 24 bits per pixel, and the input image data is 5 BPP, the file will be stored as 24-bit. Likewise, if the input image data is 2 BPP, the file will be stored as 4-bit.

Support for Basic functionality must be unlocked by calling the UnlockSupport method before using this method.

This property is used to configure the raster images properties.

To update the value of this property with the currently used setting, call the GetPrinterSaveOptions method.

To update the raster images properties, set this property and the other IEpnRasterOptions properties accessed by the RasterOptions property and call the SetPrinterSaveOptions method.

See Also

Elements:

QFactor property, SaveInterlaced property, Passes property, StampBits property, StampWidth property, StampHeight property, Flags property, UseFileSize property, TargetFileSize property, MultiPageFile property, SaveStamp property, SetPrinterSaveOptions method, GetPrinterSaveOptions method

Topics:

ePrint: Getting and Setting Saving Options