ParentShape
Propriété ITextFrame.ParentShape
Renvoie la forme parente ou null si l’objet parent n’implémente pas l’interface IShape Lecture seule IShape
.
public IShape ParentShape { get; }
Exemples
Le code suivant montre
[C#]
using (Presentation presentation = new Presentation("SomePresentation.pptx"))
{
AutoShape autoShape = (AutoShape)presentation.Slides[0].Shapes[0];
Assert.IsTrue(autoShape.TextFrame.ParentShape == autoShape);
// ...
}
Voir Aussi
- interface IShape
- interface ITextFrame
- namespace Aspose.Slides
- assembly Aspose.Slides