get_ParentCell()
ITextFrame::get_ParentCell() method
Returns the parent cell or null if the parent object does not implement the ICell interface. Read-only ICell.
virtual System::SharedPtr<ICell> Aspose::Slides::ITextFrame::get_ParentCell()=0
Remarks
The following code sample shows
System::SharedPtr<Presentation> presentation = System::MakeObject<Presentation>(u"SomePresentation.pptx");
System::SharedPtr<Table> table = System::ExplicitCast<Table>(presentation->get_Slide(0)->get_Shape(0));
ASSERT_TRUE(table->idx_get(0, 0)->get_TextFrame()->get_ParentCell() == table->idx_get(0, 0));
See Also
- Typedef SharedPtr
- Class ICell
- Class ITextFrame
- Namespace Aspose::Slides
- Library Aspose.Slides