The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.

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

Declaration

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

Parameters

Name Type Description
pos DocumentPosition

A DocumentPosition object that is a position within the document.

Returns

Type Description
TableCell

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

Remarks

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