M-Files API 23.11.13135.0
DownloadFileEx3 Method
VaultObjectFileOperations Object : DownloadFileEx3 Method
The object identifier of the object that contains the file.
The file version.
The location where the file is stored.
Specifies the file format to download.
Description
Downloads the content of the specified file from the server to the specified path.
Syntax
Visual Basic
Public Sub DownloadFileEx3( _
   ByVal ObjID As ObjID, _
   ByVal FileVer As FileVer, _
   ByVal FilePath As String, _
   ByVal FileFormat As MFFileFormat _
) 
Parameters
ObjID
The object identifier of the object that contains the file.
FileVer
The file version.
FilePath
The location where the file is stored.
FileFormat
ValueDescription
MFFileFormatDisplayOnlyPDFPDF for display purposes only (printing, copying, etc. disabled).
MFFileFormatNativeNative file format.
MFFileFormatPDFPDF.
Specifies the file format to download.
Remarks
This method is available only if M-Files API is used in the server interface mode.
See Also

VaultObjectFileOperations Object  | VaultObjectFileOperations Members