Поделиться через


CommonSlideViewProperties.SnapToGrid Property

Snap Objects to Grid.Represents the attribte in schema: snapToGrid

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

Syntax

'Declaration
<SchemaAttrAttribute(, "snapToGrid")> _
Public Property SnapToGrid As BooleanValue
    Get
    Set
'Usage
Dim instance As CommonSlideViewProperties
Dim value As BooleanValue

value = instance.SnapToGrid

instance.SnapToGrid = value
[SchemaAttrAttribute(, "snapToGrid")]
public BooleanValue SnapToGrid { 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 whether objects should snap to underlying presentation grid when editing.

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

See Also

Reference

CommonSlideViewProperties Class

CommonSlideViewProperties Members

DocumentFormat.OpenXml.Presentation Namespace