←Select platform

BitsPerPixel Property (GrayscaleCommand)

Summary

Gets or sets a value indicating the number of bits in the destination image. Valid values are 8, 12, or 16.

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) 
             
  
get_BitsPerPixel(); 
set_BitsPerPixel(value); 
Object.defineProperty('BitsPerPixel');  
public: 
property int BitsPerPixel { 
   int get(); 
   void set (    int ); 
} 

Property Value

A value indicating the number of bits in the destination image. Valid values are 8, 12, or 16.

Example

For an example, refer to GrayscaleCommand.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize