VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / KodakDeviceProfileCollection Class / Restore Methods / Restore(Boolean) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Restore(Boolean) Method (KodakDeviceProfileCollection)
    In This Topic
    Restores all preinstaled device profiles.
    Syntax
    'Declaration
    
    Public Overloads Sub Restore( _
    ByVal sharedSettings
    Indicates whether the settings shared across profiles (e.g. Power Saver) must be included.
    As Boolean _
    )
    public void Restore(
    bool sharedSettings
    )
    public: void Restore(
    bool sharedSettings
    )
    public:
    void Restore(
    bool sharedSettings
    )

    Parameters

    sharedSettings
    Indicates whether the settings shared across profiles (e.g. Power Saver) must be included.
    Exceptions
    ExceptionDescription
    Thrown if device is disposed.
    Thrown if device is closed.
    Thrown if operation is failed.
    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also