Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / TwainEnableImprinter Method





In This Topic
    TwainEnableImprinter Method (GdPictureImaging)
    In This Topic
    Ask to the opened source to enable or not imprinter capability.
    Syntax
    'Declaration
     
    
    Public Function TwainEnableImprinter( _
       ByVal Enabled As Boolean _
    ) As Boolean
    public bool TwainEnableImprinter( 
       bool Enabled
    )
    public function TwainEnableImprinter( 
        Enabled: Boolean
    ): Boolean; 
    public function TwainEnableImprinter( 
       Enabled : boolean
    ) : boolean;
    public: bool TwainEnableImprinter( 
       bool Enabled
    ) 
    public:
    bool TwainEnableImprinter( 
       bool Enabled
    ) 

    Parameters

    Enabled

    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