GroupSnapToGridRule 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个 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
- 继承
属性
| Instance |
获取 GroupSnapToGridRule 的单一实例。 |
方法
| GetCompliantGroupBounds(Store, ShapeElement, GhostShapeCollection, PointD) |
更新 GhostShapeCollection,使其在应用建议的位置增量后符合此 GroupBoundsRules。 |