ParentCell

Propriété TextFrame.ParentCell

Retourne la cellule parente ou null si l’objet parent n’implémente pas l’interface ICell. En lecture seule ICell.

public ICell ParentCell { get; }

Exemples

L’exemple de code 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