Hidden
ShapeBase.Hidden property
Gets or sets a boolean value indicating whether the shape is visible.
public bool Hidden { get; set; }
Remarks
The default value is false
.
Examples
Shows how to hide the shape.
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");
See Also
- class ShapeBase
- namespace Aspose.Words.Drawing
- assembly Aspose.Words