The BitsPerPixel Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets a value indicating the resulting file's pixel depth.Visual Basic (Declaration) | |
---|---|
Public Property BitsPerPixel As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SaveImageActivity Dim value As Integer instance.BitsPerPixel = value value = instance.BitsPerPixel |
C# | |
---|---|
public int BitsPerPixel {get; set;} |
Property Value
The resulting file's pixel depth.If this property is 0 , the image will be stored using the closest bits/pixel value supported by that format. For example, if a file format supports 1, 4, and 24 bits/pixel, and Leadtools.RasterImage.BitsPerPixel is 5, the file will be stored as 24 bit. Likewise, if Leadtools.RasterImage.BitsPerPixel is 2, the file will be stored as 4 bit.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7