SchemaExtensionsGetFromDocumentsFileDownloadForStreamAsync Method DocuWare Platform .NET API

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.6
Syntax

C#
public static Task<DeserializedHttpResponse<Stream>> GetFromDocumentsFileDownloadForStreamAsync(
	this ServiceConnection serviceConnection,
	int id,
	string fileCabinetId,
	Nullable<FileDownloadType> targetFileType = null,
	Nullable<bool> keepAnnotations = null,
	Nullable<bool> downloadFile = null,
	Nullable<bool> autoPrint = null,
	int[] layers = null,
	int[] append = null
)

Parameters

serviceConnection
Type: DocuWare.Platform.ServerClientServiceConnection
id
Type: SystemInt32
fileCabinetId
Type: SystemString
targetFileType (Optional)
Type: SystemNullableFileDownloadType
keepAnnotations (Optional)
Type: SystemNullableBoolean
downloadFile (Optional)
Type: SystemNullableBoolean
autoPrint (Optional)
Type: SystemNullableBoolean
layers (Optional)
Type: SystemInt32
append (Optional)
Type: SystemInt32

Return Value

Type: TaskDeserializedHttpResponseStream

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ServiceConnection. 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

Reference