←Select platform

BitsPerPixel Property

Summary

Gets or sets the bits per pixel value of the data in this buffer.

Syntax

C#
VB
WinRT C#
C++
public int BitsPerPixel {get; set;}
Public Property BitsPerPixel As Integer
public int BitsPerPixel {get; set;}
get_BitsPerPixel(); 
set_BitsPerPixel(value); 
Object.defineProperty('BitsPerPixel'); 
public: 
property int BitsPerPixel { 
   int get(); 
   void set (    int ); 
} 

Property Value

The bits per pixel value of the data in this buffer. Default value is 32. Only 32 is supported in this version.

Example

For an example, refer to RasterImageRenderer.

Requirements

Target Platforms

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