共用方式為


CommonSlideViewProperties.SnapToGrid Property

Definition

Snap Objects to Grid

Represents the following attribute in the schema: snapToGrid

[DocumentFormat.OpenXml.SchemaAttr(0, "snapToGrid")]
public DocumentFormat.OpenXml.BooleanValue SnapToGrid { get; set; }
public DocumentFormat.OpenXml.BooleanValue SnapToGrid { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "snapToGrid")]
public DocumentFormat.OpenXml.BooleanValue? SnapToGrid { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("snapToGrid")]
public DocumentFormat.OpenXml.BooleanValue? SnapToGrid { get; set; }
public DocumentFormat.OpenXml.BooleanValue? SnapToGrid { get; set; }
member this.SnapToGrid : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "snapToGrid")>]
member this.SnapToGrid : DocumentFormat.OpenXml.BooleanValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("snapToGrid")>]
member this.SnapToGrid : DocumentFormat.OpenXml.BooleanValue with get, set
Public Property SnapToGrid 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 objects should snap to underlying presentation grid when editing.

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

Applies to