Taal

StylusPoint.MaxXY Veld

Definitie

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

public: static initonly double MaxXY;
public static readonly double MaxXY;
 staticval mutable MaxXY : double
Public Shared ReadOnly MaxXY 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