SnapToGridRule::RoundToGrid Method (Double, Double)

 
Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
static double RoundToGrid(
	double position,
	double gridSize
)

Parameters

position
Type: System::Double
gridSize
Type: System::Double

Return Value

Type: System::Double
Return to top
Show: