←Select platform

BitsPerPixel Property

Summary

Gets or sets the number of bits per pixel for the conversion.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int BitsPerPixel { get; set; } 
Public Property BitsPerPixel As Integer 
public int BitsPerPixel {get; set;} 
@property (nonatomic, assign) NSInteger bitsPerPixel 
public int getBitsPerPixel() 
public void setBitsPerPixel(int value) 
             
 <br/>get_BitsPerPixel();<br/>set_BitsPerPixel(value);<br/>Object.defineProperty('BitsPerPixel');  
public: 
property int BitsPerPixel { 
   int get(); 
   void set (    int ); 
} 

Property Value

The number of bits per pixel for the conversion. Valid values are 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32, 48 and 64.

Example

For an example, refer to ColorResolutionCommand

Requirements

Target Platforms

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

Leadtools Assembly