←Select platform

BitsPerPixel Property

Summary

Gets the bits per pixel of the RasterImage object being created.

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

Property Value

The bits per pixel of the RasterImage object being created. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32, 48 or 64.

Remarks

You cannot change the width, height, bits/pixel, order or size of the RasterImage object being created. You can however inspect and change the memory model (conventional, disk, tiled, etc.).

Example

For an example, refer to RasterDefaults.SetRasterImageAllocateCallback.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly