In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainGetPlanarChunky Method

TwainGetPlanarChunky Method (GdPictureImaging)

In This Topic
Returns the color data formats There are two Options, "planar" And "chunky."
Syntax
'Declaration
 
Public Function TwainGetPlanarChunky() As Integer
public int TwainGetPlanarChunky()
public function TwainGetPlanarChunky(): Integer; 
public function TwainGetPlanarChunky() : int;
public: int TwainGetPlanarChunky(); 
public:
int TwainGetPlanarChunky(); 

Return Value

0 for Chunky or 1 for planar. -1 If it is not supported by the current device -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN) To get the TWAIN state, use the TwainGetState() method.
See Also