SchemaExtensions GetFromDocumentsFileDownloadForStreamAsync Method DocuWare Platform .NET API

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

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[] append = null
)

Parameters

serviceConnection
Type: DocuWare.Platform.ServerClient ServiceConnection
id
Type: OnlineSystem Int32
fileCabinetId
Type: OnlineSystem String
targetFileType (Optional)
Type: OnlineSystem Nullable FileDownloadType 
keepAnnotations (Optional)
Type: OnlineSystem Nullable OnlineBoolean 
downloadFile (Optional)
Type: OnlineSystem Nullable OnlineBoolean 
autoPrint (Optional)
Type: OnlineSystem Nullable OnlineBoolean 
append (Optional)
Type:  OnlineSystem Int32 

Return Value

Type: OnlineTask DeserializedHttpResponse OnlineStream  

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 OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also