FieldBuilder class
FieldBuilder class
Builds a field from field code tokens (arguments and switches). To learn more, visit the Working with Fields documentation article.
Constructors
Name | Description |
---|---|
FieldBuilder(fieldType) | Initializes an instance of the FieldBuilder class. |
Methods
Name | Description |
---|---|
addArgument(argument) | Adds a field’s argument. |
addArgument(argument) | Adds a field’s argument. |
addArgument(argument) | Adds a field’s argument. |
addArgument(argument) | Adds a child field represented by another FieldBuilder to the field’s code. |
addArgument(argument) | Adds a field’s argument represented by FieldArgumentBuilder to the field’s code. |
addSwitch(switchName) | Adds a field’s switch. |
addSwitch(switchName, switchArgument) | Adds a field’s switch. |
addSwitch(switchName, switchArgument) | Adds a field’s switch. |
addSwitch(switchName, switchArgument) | Adds a field’s switch. |
buildAndInsert(refNode) | Builds and inserts a field into the document before the specified inline node. |
buildAndInsert(refNode) | Builds and inserts a field into the document to the end of the specified paragraph. |
See Also
- module Aspose.Words.Fields