Share via


GraphicFrameLocks.NoSelection Property

Disallow Shape Selection.Represents the attribte in schema: noSelect

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "noSelect")> _
Public Property NoSelection As BooleanValue
    Get
    Set
'Usage
Dim instance As GraphicFrameLocks
Dim value As BooleanValue

value = instance.NoSelection

instance.NoSelection = value
[SchemaAttrAttribute(, "noSelect")]
public BooleanValue NoSelection { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

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.

See Also

Reference

GraphicFrameLocks Class

GraphicFrameLocks Members

DocumentFormat.OpenXml.Drawing Namespace