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