ShadowFormat
ShapeBase.ShadowFormat property
Obtiene el formato de sombra para la forma.
public ShadowFormat ShadowFormat { get; }
Ejemplos
Muestra cómo obtener el color de la sombra.
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);
Ver también
- class ShadowFormat
- class ShapeBase
- espacio de nombres Aspose.Words.Drawing
- asamblea Aspose.Words