Color

ShadowFormat.Color property

Bir tane alırColor gölgenin rengini temsil eden nesne. Varsayılan değerBlack .

public Color Color { 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