GlobalProfile.SnapToGrid Method

Snaps value to grid based on the standard grid used in the worksheets.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public static int SnapToGrid(
	double value,
	ContentPlacement placement
)

Parameters

value  Double
Value to snap.
placement  ContentPlacement
Placement of the content elements.

Return Value

Int32
Value changed to the nearest grid-based place.

See Also