The InfigoTemplate type exposes the following members.

Methods

  NameDescription
CreateDocumentProperty
Creates a new document property.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetFieldValue
Returns the value of a field.
GetGlobalValue
Returns the value of a global variable.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLocalValue
Returns the value of a local variable.
GetSortedControls

Returns a sorted multi-dimensional array of all fields and variables used in that template. This can be used to easily display them as intended in an UI form.

The first dimension are reserved for the pages. If the parameter Pages is false, the controls are not sorted by pages, instead, only one element exists in the first dimension.

If the parameter Pages is true, the first element are the global variables (if there are any), then come the pages in order (all elements on page 1, then all on page 2) etc.

The next dimension are the groups, each element for one group (the groups themselfs are in the order specified by the template designer). The last dimension is for the elements directly (fields, local and global variables) - again order by the template designer.

By using that function, it is possible to setup the UI in the way the template designer setup the template without looking furhter into the properties (there is always the possibility to create the order manually by looking at the GroupName, TabID and GroupOrder properties).

GetType
Gets the Type of the current instance.
(Inherited from Object.)
LoadOverloaded.
LoadFile
Loads the object with the Infigo XML data stored in a text file.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SetFieldValue
Helper method to set a field without retrieving the field objects. Any field type can be the target (text, image, barcode), however, if the field is using text variables, the method SetLocalValue(String, String, String, Boolean) must be used instead.
SetGlobalValue
Helper method to set a global variable without retrieving the variable objects.
SetLocalValue
Helper method to set a field's local variable value (for text fields with local variables only).
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Write
Write the object data to a string (the string contains the Infigo XML data).
WriteFile
Write the object data to a text file containing the Infigo XML data.

See Also