The GwxGridOptions type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFindPointToSnap
Given a mouse position (in root-space coordinates), determines the point related to the specified element to snap to the grid. The returned point will be the point closest to the mouse position, based on the snap sub-options configured for this instance of GwxGridOptions.
Public methodGetActualHeight
Gets the actual/calculated height of a grid unit. This value may differ from the "configured" Height property value. For example, for axonometric grids, the height is auto-calculated based on the Width()()()(), Angle1()()()(), and Angle2()()()().
Public methodGetActualWidth
Gets the actual/calculated width of a grid unit. Currently just returns the "configured" Width property value.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodShouldSnap
Determines if points should be snapped to the grid. The returned value may differ from the configured Snap()()()() property, for example, if the Alt key is currently pressed to temporarily disable snapping.
Public methodShouldSnapToObjects
Determines if objects should snap to other objects in the display when moving, resizing, etc.
Public methodSnapPointToGrid(Point)
Snaps the specified point to the grid.
Public methodSnapPointToGrid(Point, GeneralTransform)
Snaps the specified point to the grid.
Public methodSnapPointToGridDeviceSpace
Snaps the specified point to the grid in the device space (pixels).
Public methodSnapPointToObjects(Point)
Snaps the specified point to a nearby object in the display.
Public methodSnapPointToObjects(Point, String%)
Snaps the specified point to a nearby object in the display.
Public methodToggleGrid
Toggles Visible()()()() and Snap()()()() properties.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrySnapToObjects
Tries to snap the specified objects to other objects in the display when moving the specified objects.

See Also