Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / WiaSetChannelsPerPixel Method
The number of channels per pixel.





In This Topic
    WiaSetChannelsPerPixel Method (GdPictureImaging)
    In This Topic
    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