.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
A newer version of this page is available.

SubDocument.GetTableCell(DocumentPosition) Method

Obsolete. Gets a table cell in which the specified position is located.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll


[Obsolete("This method has become obsolete. Use the 'DevExpress.XtraRichEdit.API.Native.TableCollection.GetTableCell(DocumentPosition pos)' method instead.")]
TableCell GetTableCell(
    DocumentPosition pos


Name Type Description
pos DocumentPosition

A DocumentPosition object that is a position within the document.


Type Description

A TableCell interface specifying the table cell to which the specified position belongs.


If the specified position is inside nested tables, the GetTableCell method returns the innermost cell.

If you operate with a selection range, the GetTableCell method should be enclosed within a DocumentRange.BeginUpdateDocument - DocumentRange.EndUpdateDocument method pair. Otherwise, an incorrect document model might be selected, resulting in an exception “Error: specified document position or range belongs to other document or subdocument” being thrown.

See Also