ParentCell

Propriété ITextFrame.ParentCell

Renvoie la cellule parente ou null si l’objet parent n’implémente pas l’interface ICell. Lecture seule ICell.

public ICell ParentCell { get; }

Exemples

Le code d’exemple suivant montre

[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]);
    // ...
}

Voir aussi