←Select platform

BitsPerPixel Property

Summary
Gets the bits per pixel of the RasterImage object being created.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public int BitsPerPixel { get; } 
@property (nonatomic, assign, readonly) NSInteger bitsPerPixel; 
public int getBitsPerPixel(); 
public: 
property int BitsPerPixel { 
   int get(); 
} 
BitsPerPixel # get  (RasterImageAllocateData) 

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.).

Requirements

Target Platforms

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

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.