←Select platform

BitsPerPixel Property

Summary

Gets or sets a value indicating the bits per pixel value of the raster PDF page.

Syntax
C#
VB
Objective-C
C++
Java
public int BitsPerPixel { get; set; } 
Public Property BitsPerPixel As Integer 
@property (nonatomic, assign) NSInteger bitsPerPixel 
public int getBitsPerPixel() 
public void setBitsPerPixel(int value) 
public: 
property int BitsPerPixel { 
   int get(); 
   void set (    int ); 
} 

Property Value

An integer that indicates the bits per pixel value of the raster PDF page.

Remarks

The bits per pixel value of the raster PDF page. This is the same value used as the bitsPerPixel parameter value to the RasterCodecs.Save method used to create this file. You can set the value of CodecsPdfLoadOptions.DisplayDepth to this value to load a PDF page in the original bits per pixel value it was saved at.

This property is guaranteed to contain accurate information only if the value of IsLeadPdf is true.

Example

For an example, refer to CodecsRasterPdfInfo.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly