Qdv.Initialize Method

Initializes the QDV interface. This method must be called before you perform any API operation.
Public Overridable Sub Initialize( _ 
ByVal silentMode As Boolean, _ 
ByVal licenseCode As String
)
This language is not supported or no code example is available.
public virtual void Initialize( 
bool silentMode
string licenseCode 
)
This language is not supported or no code example is available.

Parameters

silentMode
bool

If set to true, then QDV is in the silent mode, when any GUI, such as dialogs, message windows, is suppressed. Messages in the silent mode are not lost. They are collected in so called silent message stack, that you can retrieve with the GetSilentMessageStack method.

licenseCode
string

The QDV license code, or an empty string for no license. You need a license code in order to use the API of QDV. The API is licensed per developer. Compiled assemblies are royalty free. Only functions that read or write global variables are accessible without license because they don't call the Spreadsheet component.

Remarks
 
The initialization will correctly set the QdvUserApiManager property. After that, you can use the QdvManager class to get estimates or other objects.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition