Class FileDownload
Define how a document can be downloaded
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class FileDownload : FileDownloadBase
Constructors
FileDownload()
Creates a new instance of this class
Declaration
public FileDownload()
Properties
AutoPrint
If this flag is true then the PDF will have a script which opens the print dialog immediately.
Declaration
public bool AutoPrint { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This flag applies only to the PDF target format.
DirectDownload
If this flag is true then the file is directly downloaded, even if the browser provides a plugin for this file.
Declaration
public bool DirectDownload { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
If you have a browser plugin installed which shows you the content a PDF file in the browser directly then this flag can be used to override this behaviour and let the browser open a "Save file" box.
Fillable
This flag should be true if the document fields will be fillable.
Declaration
public bool Fillable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This flag applies only to the PDF target format.
SendByEmail
This flag should be true if the document will be sent by email.
Declaration
public bool SendByEmail { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This flag applies only to the PDF target format.
TargetFileType
Specifies the target format (target file type) of the downloaded file.
Declaration
public FileDownloadType TargetFileType { get; set; }
Property Value
Type | Description |
---|---|
FileDownloadType |