Freigeben über


SizeF.Width-Eigenschaft

Ruft die horizontale Komponente dieser SizeF-Struktur ab oder legt diese fest.

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

Syntax

'Declaration
Public Property Width As Single
'Usage
Dim instance As SizeF
Dim value As Single

value = instance.Width

instance.Width = value
public float Width { get; set; }
public:
property float Width {
    float get ();
    void set (float value);
}
/** @property */
public float get_Width ()

/** @property */
public void set_Width (float value)
public function get Width () : float

public function set Width (value : float)

Eigenschaftenwert

Die horizontale Komponente dieser SizeF, die i. d. R. in Pixeln gemessen wird.

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

SizeF-Struktur
SizeF-Member
System.Drawing-Namespace