PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / C1MultiDocument Class / SetStorage Method / SetStorage(StorageType,String) Method
The new storage type to use.
The temporary directory to use if storageType is StorageType.Disk.

In This Topic
    SetStorage(StorageType,String) Method
    In This Topic
    Sets the temporary storage type used by the current multi-document. Note that document items are actually moved from old storage to new by this method.
    Syntax
    'Declaration
     
    Public Overloads Sub SetStorage( _
       ByVal storageType As StorageType, _
       ByVal storagePath As String _
    ) 
    public void SetStorage( 
       StorageType storageType,
       string storagePath
    )

    Parameters

    storageType
    The new storage type to use.
    storagePath
    The temporary directory to use if storageType is StorageType.Disk.
    See Also