Bits per pixel to use when getting the raster image of a page.
public int DefaultBitsPerPixel { get; set; }
Public Property DefaultBitsPerPixel() As Integer
Get
Set
public:
property int DefaultBitsPerPixel
{
int get()
void set(int value)
}
public int getDefaultBitsPerPixel()
public void setDefaultBitsPerPixel(int value)
The bits per pixel to use when getting the raster image of a page. This value is determined by the document type.
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.
Note that setting this property to a value will update the same value in each child document.
For an example, refer to DocumentPage.GetImage(resolution).
Products |
Support |
Feedback: DefaultBitsPerPixel Property (DocumentImages) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.