共用方式為


Diagram.SnapToGrid Property

Definition

Gets or sets a value indicating whether shapes snap to the grid.

public:
 property bool SnapToGrid { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool SnapToGrid { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SnapToGrid : bool with get, set
Public Property SnapToGrid As Boolean

Property Value

Attributes

Applies to