Compartir a través de


SnapToGridRule Class

Definition

Snap-to-grid rules that constrain the ShapeElement's position and/or size.

public ref class SnapToGridRule : Microsoft::VisualStudio::Modeling::Diagrams::BoundsRules
[System.Serializable]
public class SnapToGridRule : Microsoft.VisualStudio.Modeling.Diagrams.BoundsRules
[<System.Serializable>]
type SnapToGridRule = class
    inherit BoundsRules
Public Class SnapToGridRule
Inherits BoundsRules
Inheritance
SnapToGridRule
Attributes

Constructors

SnapToGridRule()

Properties

Instance

Methods

GetCompliantBounds(ShapeElement, RectangleD)
RoundToGrid(Double, Double)

Applies to