StylusPoint.MinXY Feld

Definition

Gibt den kleinsten gültigen Wert für ein (x, y)-Koordinatenpaar an.

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

Feldwert

Beispiele

Im folgenden Beispiel wird sichergestellt, dass die X Eigenschaft von StylusPoint auf einen rechtlichen Wert festgelegt ist.

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

Gilt für: