Description
Returns the document variable specified by name.
C#
public System.String GetVariable(System.String name)
vb.net
Public Function GetVariable(ByVal name As String) As String
Parameters
name
The name of the variable.Returns
The document variable specified by name. If the variable does not exist, GetVariable returns null.Examples
C#
string docVariable = doc.GetVariable("var");vb.net
Dim docVariable As String = doc.GetVariable("var")
