←Select platform

BitsPerPixel Property

Summary

Gets or sets the desired thumbnail bits per pixel.

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) NSUInteger bits 
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 desired thumbnail bits per pixel. The following are valid values:

Value Meaning
0 Default bits per pixel stored in the file.
1 to 8 The specified bits per pixel in the resulting image.
12 12 bits per pixel in the resulting image.
16 16 bits per pixel in the resulting image.
24 24 bits per pixel in the resulting image.
32 32 bits per pixel in the resulting image.
48 48 bits per pixel in the resulting image.
64 64 bits per pixel in the resulting image.
Example

For an example, refer to RasterCodecs.ReadThumbnail.

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.Codecs Assembly