Hidden

ShapeBase.Hidden property

Ottiene o imposta un valore booleano che indica se la forma è visibile.

public bool Hidden { get; set; }

Osservazioni

Il valore predefinito èfalso .

Esempi

Mostra come nascondere la forma.

Document doc = new Document(MyDir + "Shadow color.docx");

Shape shape = (Shape)doc.GetChild(NodeType.Shape, 0, true);
if (!shape.Hidden)
    shape.Hidden = true;

doc.Save(ArtifactsDir + "Shape.Hidden.docx");

Guarda anche