Freigeben über


Rectangle.Location-Eigenschaft

Ruft die Koordinaten der linken oberen Ecke dieser Rectangle-Struktur ab oder legt diese fest.

Namespace: System.Drawing
Assembly: System.Drawing (in system.drawing.dll)

Syntax

'Declaration
Public Property Location As Point
'Usage
Dim instance As Rectangle
Dim value As Point

value = instance.Location

instance.Location = value
public Point Location { get; set; }
public:
property Point Location {
    Point get ();
    void set (Point value);
}
/** @property */
public Point get_Location ()

/** @property */
public void set_Location (Point value)
public function get Location () : Point

public function set Location (value : Point)

Eigenschaftenwert

Ein Point, der die linke obere Ecke dieser Rectangle-Struktur darstellt.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

Rectangle-Struktur
Rectangle-Member
System.Drawing-Namespace