QDVEstimate.ExtractFileFromEstimate Method

NOTE: This member is now obsolete. Use Qdv.UserApi.IEstimate.ExtractFileFromEstimate instead.

Extract a file previously stored into an estimate.
[Obsolete("Use Qdv.UserApi.IEstimate.ExtractFileFromEstimate instead.")] 
public int ExtractFileFromEstimate( 
string IDofFile
string FullPathToFile
bool ReplaceIfExist
ref string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

IDofFile
string

A unique identifier that you can get using GetListOfEmbeddedFiles method.

FullPathToFile
string

A full path to the file you want to create on disk.

ReplaceIfExist
bool

If set to true, any existing file is replaced; otherwise, an existing file will bring an error message.

ErrorMessage
string

Optional. Returns an empty string when no error or an error message in case of error.

Return Value

int

The error number. 0 means no error.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition