ParentShape
ITextFrame.ParentShape-Eigenschaft
Gibt die übergeordnete Form zurück oder null, wenn das übergeordnete Objekt das IShape-Interface nicht implementiert. Nur-Lese IShape
.
public IShape ParentShape { get; }
Beispiele
Das folgende Codebeispiel zeigt
[C#]
using (Presentation presentation = new Presentation("SomePresentation.pptx"))
{
AutoShape autoShape = (AutoShape)presentation.Slides[0].Shapes[0];
Assert.IsTrue(autoShape.TextFrame.ParentShape == autoShape);
// ...
}
Siehe Auch
- Schnittstelle IShape
- Schnittstelle ITextFrame
- Namespace Aspose.Slides
- Assembly Aspose.Slides