←Select platform

BitsPerPixel Property

Summary

Gets or sets the bits per pixel.

Syntax

C#
VB
C++
public int BitsPerPixel { get; set; } 
Public Property BitsPerPixel As Integer 
public: 
property int BitsPerPixel { 
   int get(); 
   void set (    int ); 
} 

Property Value

The resulting image pixel depth. Possible values are: Value01 to 812162432

Remarks

The following lists the possible values and their associated meaning:

Value Meaning
0 Keep the original file's pixel depth (do not convert).
1 to 8 The specified bits per pixel in the resulting image.
12 12 bits per pixel in the resulting image.
16 16 bits per pixel in the resulting image.
24 24 bits per pixel in the resulting image.
32 32 bits per pixel in the resulting image.
Requirements

Target Platforms

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

Leadtools.Dicom.Common Assembly