GdPicture14 Namespace / GdPictureImaging Class / TwainGetPlanarChunky Method

In This Topic
TwainGetPlanarChunky Method (GdPictureImaging)
In This Topic
Returns the color data formats There are two Options, "planar" And "chunky."
Public Function TwainGetPlanarChunky() As Integer
public int TwainGetPlanarChunky()
public function TwainGetPlanarChunky(): Integer; 
public function TwainGetPlanarChunky() : int;
public: int TwainGetPlanarChunky(); 
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.
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