ShadowFormat
ShapeBase.ShadowFormat property
Ruft die Schattenformatierung für die Form ab.
public ShadowFormat ShadowFormat { get; }
Beispiele
Zeigt, wie man Schattenfarbe erhält.
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);
Siehe auch
- class ShadowFormat
- class ShapeBase
- namensraum Aspose.Words.Drawing
- Montage Aspose.Words