Leadtools.Forms.DocumentReaders Namespace > DocumentReaderPage Class : BitsPerPixel Property |
public int BitsPerPixel {get;}
'Declaration Public ReadOnly Property BitsPerPixel As Integer
'Usage Dim instance As DocumentReaderPage Dim value As Integer value = instance.BitsPerPixel
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.
For an example, refer to DocumentReaderPage.
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