StylusPoint.MinXY Veld

Definitie

Hiermee geeft u de kleinste geldige waarde voor een paar (x, y) coördinaten.

public: static initonly double MinXY;
public static readonly double MinXY;
 staticval mutable MinXY : double
Public Shared ReadOnly MinXY As Double 

Waarde van veld

Voorbeelden

In het volgende voorbeeld wordt ervoor gezorgd dat de X eigenschap van de StylusPoint eigenschap is ingesteld op een juridische waarde.

if (x < StylusPoint.MinXY)
{
    x = StylusPoint.MinXY;
}
else if (x > StylusPoint.MaxXY)
{
    x = StylusPoint.MaxXY;
}

point.X = x;
If x < StylusPoint.MinXY Then
    x = StylusPoint.MinXY
ElseIf x > StylusPoint.MaxXY Then
    x = StylusPoint.MaxXY
End If

point.X = x

Van toepassing op