共用方式為


NonVisualDrawingProperties.Hidden Property

Definition

hidden

Represents the following attribute in the schema: hidden

[DocumentFormat.OpenXml.SchemaAttr(0, "hidden")]
public DocumentFormat.OpenXml.BooleanValue Hidden { get; set; }
public DocumentFormat.OpenXml.BooleanValue Hidden { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "hidden")]
public DocumentFormat.OpenXml.BooleanValue? Hidden { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("hidden")]
public DocumentFormat.OpenXml.BooleanValue? Hidden { get; set; }
public DocumentFormat.OpenXml.BooleanValue? Hidden { get; set; }
member this.Hidden : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "hidden")>]
member this.Hidden : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("hidden")>]
member this.Hidden : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property Hidden As BooleanValue

Property Value

Returns BooleanValue.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies whether this DrawingML object shall be displayed. When a DrawingML object is displayed within a document, that object may be hidden (in other words, present but not visible). This attribute shall determine whether the object shall be rendered or made hidden. An application may have settings which allow this object to be viewed.

If this attribute is omitted, then the parent DrawingML object shall be displayed (in other words, not hidden).

Consider an inline DrawingML object which shall be hidden within the document's content. This setting would be specified as follows:

<… hidden="true" />  

The hidden attribute has a value of true, which specifies that the DrawingML object is hidden and not displayed when the document is displayed.

The possible values for this attribute are defined by the XML Schema boolean data type.

Applies to