FieldCollection.Add(DocumentRange) Method
Obsolete. Create a field from the specified range and add it 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(
DocumentRange range
)
<Obsolete("This method has become obsolete. Use the 'Create' method instead.")>
Function Add(
range As DocumentRange
) As Field
Parameters
| Name | Type | Description |
|---|---|---|
| range | DocumentRange | A DocumentRange representing a range transformed to a field. |
Returns
| Type | Description |
|---|---|
| Field | A Field object representing the newly created field. |
Remarks
The Add method transforms the specified range to the field. The text content of the range becomes the codes of the newly created field.
See Also