FieldCollection.Add(DocumentPosition, String) Method
Obsolete. Add a field specified by its codes to the field collection.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v14.2.Core.dll
Declaration
[Obsolete("This method has become obsolete. Use the 'Create' method instead.")]
Field Add(
DocumentPosition start,
string code
)
<Obsolete("This method has become obsolete. Use the 'Create' method instead.")>
Function Add(
start As DocumentPosition,
code As String
) As Field
Parameters
| Name | Type | Description |
|---|---|---|
| start | DocumentPosition | A DocumentPosition representing the position at which the field is inserted. |
| code | String | A DocumentPosition representing the position at which the field is inserted. |
Returns
| Type | Description |
|---|---|
| Field | A Field object representing the newly created field. |
Remarks
Use the Add method to insert a new field in a document.
See Also