ShadowFormat
ShapeBase.ShadowFormat property
Ottiene la formattazione dell’ombra per la forma.
public ShadowFormat ShadowFormat { 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
- class ShapeBase
- spazio dei nomi Aspose.Words.Drawing
- assemblea Aspose.Words