←Select platform

BitsPerPixel Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int BitsPerPixel { get; set; } 
Public Property BitsPerPixel As Integer 
public int BitsPerPixel {get; set;} 
@property (nonatomic, assign) NSInteger bitsPerPixel 
public int getBitsPerPixel() 
public void setBitsPerPixel(int value) 
             
 <br/>get_BitsPerPixel();<br/>set_BitsPerPixel(value);<br/>Object.defineProperty('BitsPerPixel');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly