GdPicture.NET Reference Guide
WiaSetChannelsPerPixel Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : WiaSetChannelsPerPixel Method
The number of channels per pixel.
Sets the current channels per pixel setting for the selected device.
Syntax
'Declaration
 
Public Function WiaSetChannelsPerPixel( _
   ByVal n As Integer _
) As Boolean
public bool WiaSetChannelsPerPixel( 
   int n
)
public function WiaSetChannelsPerPixel( 
    n: Integer
): Boolean; 
public function WiaSetChannelsPerPixel( 
   n : int
) : boolean;
public: bool WiaSetChannelsPerPixel( 
   int n
) 
public:
bool WiaSetChannelsPerPixel( 
   int n
) 

Parameters

n
The number of channels per pixel.

Return Value

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

Reference

GdPictureImaging Class
GdPictureImaging Members