QDVWBS.ExtractWordTemplate Method

NOTE: This member is now obsolete. Use Qdv.UserApi.IEstimateVersion.ExtractWordTemplate instead.

Exports a Word template stored in the estimate to a file. Can be either Docx or Docm.
[Obsolete("Use Qdv.UserApi.IEstimateVersion.ExtractWordTemplate instead.")] 
public int ExtractWordTemplate( 
string NameOfWordTemplate
string FullPathToOutputFile
string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

NameOfWordTemplate
string

The name of the word document as it appears in the "Word Documents" dialog of QDV.

FullPathToOutputFile
string

The full path to the file you want to create. This file mustn't exist.

ErrorMessage
string

Returns a possible error message. Returns an empty string when no error occurs.

Return Value

int

An error number. 0 when no error occurs.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition