←Select platform

BitsPerPixel Property

Summary

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

Syntax

C#
VB
WinRT C#
C++
public int BitsPerPixel { get; } 
Public ReadOnly Property BitsPerPixel As Integer 
public int BitsPerPixel {get;} 
 get_BitsPerPixel();  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly