Visible

ShadowFormat.Visible property

RückgabenWAHR wenn die auf diese Instanz angewendete Formatierung sichtbar ist.

public bool Visible { get; }

Bemerkungen

Im GegensatzClear , ZuweisenFALSCHauf Sichtbar löscht die Formatierung nicht, es blendet nur den Formeffekt aus.

Beispiele

Zeigt, wie mit einer Schattenformatierung für die Form gearbeitet wird.

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

Siehe auch