Freigeben über


Size.IsEmpty-Eigenschaft

Prüft, ob Breite und Höhe dieser Size 0 (null) sind.

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

Syntax

'Declaration
Public ReadOnly Property IsEmpty As Boolean
'Usage
Dim instance As Size
Dim value As Boolean

value = instance.IsEmpty
public bool IsEmpty { get; }
public:
property bool IsEmpty {
    bool get ();
}
/** @property */
public boolean get_IsEmpty ()
public function get IsEmpty () : boolean

Eigenschaftenwert

Diese Eigenschaft gibt true zurück, wenn die Höhe und Breite dieser Size 0 (null) ist, andernfalls false.

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

Size-Struktur
Size-Member
System.Drawing-Namespace