[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ComplexFieldCollection.Add

Add Method

Add(string, string)

Adds a ComplexField to this collection.

Declaration
public ComplexField Add(string code, string result = null)
Parameters
Type Name Description
string code

The complex field code.

string result

The result text of the added field.

Returns
Type Description
ComplexField

The added ComplexField.

Add(IFieldOptions)

Adds a ComplexField to this collection.

Declaration
public ComplexField Add(IFieldOptions options)
Parameters
Type Name Description
IFieldOptions options

The complex field options.

Returns
Type Description
ComplexField

The added ComplexField.