←Select platform

BitsPerPixel Property

Summary

Gets or sets the desired thumbnail bits per pixel.

Syntax

C#
VB
Java
Objective-C
C++
public int BitsPerPixel { get; set; } 

Public Property BitsPerPixel As Integer 

@property (nonatomic, assign) NSUInteger bits 

public int getBitsPerPixel() 
public void setBitsPerPixel(int value) 

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 20.0.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly