Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailableImageFileFormatCount Method





In This Topic
    TwainGetAvailableImageFileFormatCount Method (GdPictureImaging)
    In This Topic
    Returns the number of available file format values which can be used by the opened source in its current configuration for file transfer mode.
    Syntax
    'Declaration
     
    
    Public Function TwainGetAvailableImageFileFormatCount() As Integer
    public int TwainGetAvailableImageFileFormatCount()
    public function TwainGetAvailableImageFileFormatCount(): Integer; 
    public function TwainGetAvailableImageFileFormatCount() : int;
    public: int TwainGetAvailableImageFileFormatCount(); 
    public:
    int TwainGetAvailableImageFileFormatCount(); 

    Return Value

    If Success, non zero: The number of available file format values. Else 0 if fail. 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