ParentShape
Propriété TextFrame.ParentShape
Retourne la forme parente ou null si l’objet parent n’implémente pas l’interface IShape Lecture seule IShape
.
public IShape ParentShape { get; }
Exemples
L’exemple de 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
- class TextFrame
- namespace Aspose.Slides
- assembly Aspose.Slides