ParentCell

ITextFrame.ParentCell property

Returns the parent cell or null if the parent object does not implement the ICell interface. Read-only ICell.

public ICell ParentCell { get; }

Examples

The following code sample shows

[C#]
using (Presentation presentation = new Presentation("SomePresentation.pptx"))
{
    Table table = (Table)presentation.Slides[0].Shapes[0];
    
    Assert.IsTrue(table[0,0].TextFrame.ParentCell == table[0,0]);
    // ...
}

See Also