Type
ShadowFormat.Type property
Ruft ab oder setzt die angegebeneShadowType für ShadowFormat.
public ShadowType Type { get; set; }
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
- enum ShadowType
- class ShadowFormat
- namensraum Aspose.Words.Drawing
- Montage Aspose.Words