QDVEstimate.StoreFileToEstimate Method

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

Store any file as embedded data in the estimate.
[Obsolete("Use Qdv.UserApi.IEstimate.StoreFileToEstimate instead.")] 
public string StoreFileToEstimate( 
string FullPathToFile
string PassedID = "", 
string DisplayName = "", 
ref int ErrorNumber = 0, 
ref string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

FullPathToFile
string

The full path to an existing file.

PassedID
string

An identifier to the file as retrieved from GetListOfEmbeddedFiles method. Must be an hexadecimal value whose length is 32 characters uppercased.

DisplayName
string

The name you want to display in the list of embedded estimates under QDV. When an empty string, it displays the name of the file.

ErrorNumber
int

Optional. Returns 0 when no error occurred.

ErrorMessage
string

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

Return Value

string

A unique ID to stored file.

Remarks
 
Avoid storing large files to reduce opening time of estimates.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition