Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Shared Function RoundToGrid ( _
position As Double, _
gridSize As Double _
) As Double
public static double RoundToGrid(
double position,
double gridSize
)
public:
static double RoundToGrid(
double position,
double gridSize
)
static member RoundToGrid :
position:float *
gridSize:float -> float
public static function RoundToGrid(
position : double,
gridSize : double
) : double
Parameters
- position
Type: Double
- gridSize
Type: Double
Return Value
Type: Double
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.