GroupSnapToGridRule 类

定义

一个 GroupBoundsRule,它约束一组子形状的整体边界,使主形状的位置在网格被启用时与网格对齐。

public ref class GroupSnapToGridRule : Microsoft::VisualStudio::Modeling::Diagrams::GroupBoundsRules
public class GroupSnapToGridRule : Microsoft.VisualStudio.Modeling.Diagrams.GroupBoundsRules
type GroupSnapToGridRule = class
    inherit GroupBoundsRules
Public Class GroupSnapToGridRule
Inherits GroupBoundsRules
继承
GroupSnapToGridRule

属性

Instance

获取 GroupSnapToGridRule 的单一实例。

方法

GetCompliantGroupBounds(Store, ShapeElement, GhostShapeCollection, PointD)

更新 GhostShapeCollection,使其在应用建议的位置增量后符合此 GroupBoundsRules。

适用于