Skip to main content

IdxRichEditField.CodeRange Property

Returns the document range occupied by the field code.

Declaration

property CodeRange: IdxRichEditDocumentRange read;

Property Value

Type
IdxRichEditDocumentRange

Remarks

Use this property to extract a document range occupied by the document field code, except for the curly braces visible in the field code display mode (i.e., if the ShowCodes property is set to True).

In a document, the CodeRange range immediately precedes the ResultRange, and both of them are encompassed by the Range document range, regardless of the current field display mode.

See Also