SnapToGridRule.RoundToGrid(Double, Double) Method

Definition

public:
 static double RoundToGrid(double position, double gridSize);
public static double RoundToGrid (double position, double gridSize);
static member RoundToGrid : double * double -> double
Public Shared Function RoundToGrid (position As Double, gridSize As Double) As Double

Parameters

position
Double
gridSize
Double

Returns

Applies to