The number of bits per pixel.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / WiaSetBitsPerPixel Method

WiaSetBitsPerPixel Method (GdPictureImaging)

In This Topic
Sets the current bits per pixel setting for the selected device.
Syntax
'Declaration

 

Public Function WiaSetBitsPerPixel( _

   ByVal bpp As Integer _

) As Boolean
public bool WiaSetBitsPerPixel( 

   int bpp

)
public function WiaSetBitsPerPixel( 

    bpp: Integer

): Boolean; 
public function WiaSetBitsPerPixel( 

   bpp : int

) : boolean;
public: bool WiaSetBitsPerPixel( 

   int bpp

) 
public:

bool WiaSetBitsPerPixel( 

   int bpp

) 

Parameters

bpp
The number of bits per pixel.

Return Value

True if success, else False. Use WiaGetLastError() methods for diagnosing the error.
See Also