IMacroProvider.GetMacro Method

Gets a macro from the macro provider and saves it to a file.
Sub GetMacro( _ 
ByVal macroID As String, _ 
ByVal savingLocation As String, _ 
Optional ByVal replace As Boolean = True _ 
)
This language is not supported or no code example is available.
void GetMacro( 
string macroID
string savingLocation
bool replace = True 
)
This language is not supported or no code example is available.

Parameters

macroID
string

A Unique ID of the macro (e.g. a Guid).

savingLocation
string

The complete path and filename where to store the macro. The macro file is a ZIP-ped file with all macro code and data files, usually with qdvmacro extension. This method serves as Export macro function.

replace
bool

Determines whether an existing file should be overwritten or not.

Remarks
 
To know the macroId, the function MacroList should be used which delivers the relation between MacroID and DisplayName
Version
 
Available since QDV 7.14.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition