←Select platform

BitsPerPixel Property

Summary

Gets or sets the number of bits for the destination image.

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 for the destination image. Valid values are 8, 12, or 16.

Example

For an example, refer to CreateGrayscaleImageCommand.

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