←Select platform

BitsPerPixel Property

Summary

Gets the number of bits per pixel of this page.

Syntax

C#
VB
C++
[DataMemberAttribute(Name="bitsPerPixel", Order=4)] 
public int BitsPerPixel { get; } 
  
Public ReadOnly Property BitsPerPixel As Integer 
public: 
property int BitsPerPixel { 
   int get(); 
} 

Property Value

A System.Int32 that represents the number of bits per pixel of this page.

Remarks

This value is read from the document directly. If the document is not a raster image, for example, a PDF or XPS file, then this value is calculated as the lowest number of bits per pixel required to render the page as a raster image based on the objects contained in the page.

Example

For an example, refer to DocumentReaderPage.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentReaders Assembly