Freigeben über


PageSetupDialog.Document-Eigenschaft

Ruft einen Wert ab, der das PrintDocument angibt, dessen Seiteneinstellungen übernommen werden sollen, oder legt diesen fest.

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

Syntax

'Declaration
Public Property Document As PrintDocument
'Usage
Dim instance As PageSetupDialog
Dim value As PrintDocument

value = instance.Document

instance.Document = value
public PrintDocument Document { get; set; }
public:
property PrintDocument^ Document {
    PrintDocument^ get ();
    void set (PrintDocument^ value);
}
/** @property */
public PrintDocument get_Document ()

/** @property */
public void set_Document (PrintDocument value)
public function get Document () : PrintDocument

public function set Document (value : PrintDocument)

Eigenschaftenwert

Das PrintDocument, dessen Seiteneinstellungen übernommen werden sollen. Der Standardwert ist NULL (Nothing in Visual Basic).

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
PrintDocument