Freigeben über


PageSetupDialog.AllowOrientation-Eigenschaft

Ruft einen Wert ab, der angibt, ob der Bereich Ausrichtung des Dialogfelds (Querformat bzw. Hochformat) aktiviert ist, oder legt diesen fest.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public Property AllowOrientation As Boolean
'Usage
Dim instance As PageSetupDialog
Dim value As Boolean

value = instance.AllowOrientation

instance.AllowOrientation = value
public bool AllowOrientation { get; set; }
public:
property bool AllowOrientation {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_AllowOrientation ()

/** @property */
public void set_AllowOrientation (boolean value)
public function get AllowOrientation () : boolean

public function set AllowOrientation (value : boolean)

Eigenschaftenwert

true, wenn der Bereich Ausrichtung des Dialogfelds aktiviert ist, andernfalls false. Der Standardwert ist true.

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

Siehe auch

Referenz

PageSetupDialog-Klasse
PageSetupDialog-Member
System.Windows.Forms-Namespace
PageSetupDialog.AllowMargins-Eigenschaft
AllowPaper
AllowPrinter