GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainSetPlanarChunky Method
0 for Chunky or 1 for Planar.





In This Topic
TwainSetPlanarChunky Method (GdPictureImaging)
In This Topic
Try to specify the color data formats There are two Options, "planar" And "chunky".
Syntax
'Declaration
 
Public Function TwainSetPlanarChunky( _
   ByVal PlanarChunky As Integer _
) As Boolean
public bool TwainSetPlanarChunky( 
   int PlanarChunky
)
public function TwainSetPlanarChunky( 
    PlanarChunky: Integer
): Boolean; 
public function TwainSetPlanarChunky( 
   PlanarChunky : int
) : boolean;
public: bool TwainSetPlanarChunky( 
   int PlanarChunky
) 
public:
bool TwainSetPlanarChunky( 
   int PlanarChunky
) 

Parameters

PlanarChunky
0 for Chunky or 1 for Planar.

Return Value

True if success, else False -> 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