Freigeben über


PrintPreviewDialog.Document-Eigenschaft

Ruft das Dokument ab, das in einer Vorschau angezeigt werden soll, oder legt dieses 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 PrintPreviewDialog
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, das das in der Vorschau anzuzeigende Dokument darstellt.

Hinweise

Diese Eigenschaft entspricht PrintPreviewControl.Document.

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

PrintPreviewDialog-Klasse
PrintPreviewDialog-Member
System.Windows.Forms-Namespace
PrintDocument