Color
ShadowFormat.Color property
Ottiene unColor oggetto che rappresenta il colore dell’ombra. Il valore predefinito èBlack .
public Color Color { get; }
Esempi
Mostra come ottenere il colore dell’ombra.
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);
Guarda anche
- class ShadowFormat
- spazio dei nomi Aspose.Words.Drawing
- assemblea Aspose.Words