ParentCell

ITextFrame.ParentCell propiedad

Devuelve la celda padre o null si el objeto padre no implementa la interfaz ICell. Solo lectura ICell.

public ICell ParentCell { get; }

Ejemplos

El siguiente ejemplo de código muestra

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

Ver También