←Select platform

BitsPerPixel Property (CodecsRasterPdfInfo)

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) 
             
  
get_BitsPerPixel(); 
set_BitsPerPixel(value); 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Codecs Assembly
Click or drag to resize