LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
BitsPerPixel Property
See Also 
Leadtools.Codecs Namespace > CodecsRasterPdfInfo Structure : BitsPerPixel Property



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

Syntax

Visual Basic (Declaration) 
Public Property BitsPerPixel As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsRasterPdfInfo
Dim value As Integer
 
instance.BitsPerPixel = value
 
value = instance.BitsPerPixel
C# 
public int BitsPerPixel {get; set;}
C++/CLI 
public:
property int BitsPerPixel {
   int get();
   void set (    int value);
}

Property Value

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

Example

For an example, refer to CodecsRasterPdfInfo.

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 guarranteed to contain accurate information only if the value of IsLeadPdf is true.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also