GlobalProfile.SnapToGrid Method
Snaps value to grid based on the standard grid used in the worksheets.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public static int SnapToGrid(
double value,
ContentPlacement placement
)
Public Shared Function SnapToGrid (
value As Double,
placement As ContentPlacement
) As Integer
public:
static int SnapToGrid(
double value,
ContentPlacement placement
)
static member SnapToGrid :
value : float *
placement : ContentPlacement -> int
- value Double
- Value to snap.
- placement ContentPlacement
Placement of the content elements.
Int32Value changed to the nearest grid-based place.