Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

DefaultBitsPerPixel Property






Bits per pixel to use when getting the raster image of a page.
Syntax
public int DefaultBitsPerPixel {get; set;}
'Declaration
 
Public Property DefaultBitsPerPixel As Integer
'Usage
 
Dim instance As DocumentImages
Dim value As Integer
 
instance.DefaultBitsPerPixel = value
 
value = instance.DefaultBitsPerPixel
public int getDefaultBitsPerPixel()
public void setDefaultBitsPerPixel(int value)
            
public:
property int DefaultBitsPerPixel {
   int get();
   void set (    int value);
}

Property Value

The bits per pixel to use when getting the raster image of a page. This value is determined by the document type.
Remarks

Document format types such as Microsoft Word and Adobe Acrobat do not contain a physical bits per pixel and can be loaded at any value such as 1, 8, 24 or 32 etc. You can use DefaultBitsPerPixel to set the value used when loading such a page as a raster image. The default value is set depending on the RasterCodecs options and the format of the document and is usually set to 24 bits per pixel.

Raster format types such as TIFF, PNG and JPEG have physical size but can also be loaded at any bits per pixel and DefaultBitsPerPixel can also be used to change the value used when loading the raster image of a page. The default value is determined from the original image data.

Example

For an example, refer to DocumentPage.GetImage(resolution).

Requirements

Target Platforms

See Also

Reference

DocumentImages Class
DocumentImages Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features