ShadowFormat

ShapeBase.ShadowFormat property

Şekil için gölge biçimlendirmesi alır.

public ShadowFormat ShadowFormat { get; }

Örnekler

Gölge renginin nasıl elde edileceğini gösterir.

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);

Ayrıca bakınız