ParentShape
TextFrame.ParentShape-Eigenschaft
Gibt die übergeordnete Form zurück oder null, wenn das übergeordnete Objekt das IShape-Interface nicht implementiert. Schreibgeschützt 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
- Interface IShape
- Klasse TextFrame
- Namespace Aspose.Slides
- Assembly Aspose.Slides