Share via


GraphicFrameLocks.NoSelection Property

Definition

Disallow Shape Selection

Represents the following attribute in the schema: noSelect

[DocumentFormat.OpenXml.SchemaAttr(0, "noSelect")]
public DocumentFormat.OpenXml.BooleanValue NoSelection { get; set; }
public DocumentFormat.OpenXml.BooleanValue NoSelection { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "noSelect")]
public DocumentFormat.OpenXml.BooleanValue? NoSelection { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("noSelect")]
public DocumentFormat.OpenXml.BooleanValue? NoSelection { get; set; }
public DocumentFormat.OpenXml.BooleanValue? NoSelection { get; set; }
member this.NoSelection : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "noSelect")>]
member this.NoSelection : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("noSelect")>]
member this.NoSelection : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property NoSelection 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 that the generating application should not allow selecting of the corresponding picture. That means also that no picture, shapes or text attached to this picture can be selected if this attribute has been specified. If this attribute is not specified, then a value of false is assumed.

If this attribute is specified to be true then the graphic frame cannot be selected and the objects within the graphic frame cannot be selected as well. That is the entire graphic frame including all sub-parts are considered un-selectable.

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

Applies to