Visible

ShadowFormat.Visible property

Geri Döndürürdoğru bu örneğe uygulanan biçimlendirme görünürse.

public bool Visible { get; }

Notlar

aksineClear , atamaYANLIŞGörünür olarak ayarlamak biçimlendirmeyi temizlemez, sadece şekil efektini gizler.

Örnekler

Şekil için gölge biçimlendirmesiyle nasıl çalışılacağını gösterir.

Document doc = new Document(MyDir + "Shape stroke pattern border.docx");
Shape shape = (Shape)doc.GetChildNodes(NodeType.Shape, true)[0];

if (shape.ShadowFormat.Visible && shape.ShadowFormat.Type == ShadowType.Shadow2)
    shape.ShadowFormat.Type = ShadowType.Shadow7;

if (shape.ShadowFormat.Type == ShadowType.ShadowMixed)
    shape.ShadowFormat.Clear();

Ayrıca bakınız