Click or drag to resize
FileCabinetExtensionsChunkUploadDocument Method (DialogInfo, Document, FileInfo, Int32)
Upload the specified document in chunks.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.7 [UNOFFICIAL BUILD]
Syntax
C#
public static Document ChunkUploadDocument(
	this DialogInfo dialog,
	Document document,
	FileInfo file,
	int chunkSize = 0
)

Parameters

dialog
Type: DocuWare.Platform.ServerClientDialogInfo
The store dialog which is used to fill index data.
document
Type: DocuWare.Platform.ServerClientDocument
The document.
file
Type: System.IOFileInfo
The file.
chunkSize (Optional)
Type: SystemInt32
Size of the chunk.

Return Value

Type: Document
The uploaded document's metadata.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DialogInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also