ShadowFormat
ShapeBase.ShadowFormat property
Obtient la mise en forme de l’ombre pour la forme.
public ShadowFormat ShadowFormat { get; }
Exemples
Montre comment obtenir la couleur de l’ombre.
Document doc = new Document(MyDir + "Shadow color.docx");
Shape shape = (Shape)doc.GetChild(NodeType.Shape, 0, true);
ShadowFormat shadowFormat = shape.ShadowFormat;
Assert.AreEqual(Color.Red.ToArgb(), shadowFormat.Color.ToArgb());
Assert.AreEqual(ShadowType.ShadowMixed, shadowFormat.Type);
Voir également
- class ShadowFormat
- class ShapeBase
- espace de noms Aspose.Words.Drawing
- Assemblée Aspose.Words