Rediger

Del via


DocumentPage Constructors

Definition

Initializes a new instance of the DocumentPage class.

Overloads

DocumentPage(Visual)

Initializes a new instance of the DocumentPage class by using the specified Visual.

DocumentPage(Visual, Size, Rect, Rect)

Initializes a new instance of the DocumentPage class by using the specified Visual and box sizes.

DocumentPage(Visual)

Initializes a new instance of the DocumentPage class by using the specified Visual.

public:
 DocumentPage(System::Windows::Media::Visual ^ visual);
public DocumentPage (System.Windows.Media.Visual visual);
new System.Windows.Documents.DocumentPage : System.Windows.Media.Visual -> System.Windows.Documents.DocumentPage
Public Sub New (visual As Visual)

Parameters

visual
Visual

The visual representation of the page.

Applies to

DocumentPage(Visual, Size, Rect, Rect)

Initializes a new instance of the DocumentPage class by using the specified Visual and box sizes.

public:
 DocumentPage(System::Windows::Media::Visual ^ visual, System::Windows::Size pageSize, System::Windows::Rect bleedBox, System::Windows::Rect contentBox);
public DocumentPage (System.Windows.Media.Visual visual, System.Windows.Size pageSize, System.Windows.Rect bleedBox, System.Windows.Rect contentBox);
new System.Windows.Documents.DocumentPage : System.Windows.Media.Visual * System.Windows.Size * System.Windows.Rect * System.Windows.Rect -> System.Windows.Documents.DocumentPage
Public Sub New (visual As Visual, pageSize As Size, bleedBox As Rect, contentBox As Rect)

Parameters

visual
Visual

The visual representation of the page.

pageSize
Size

The size of the page, including margins, as it will be after any cropping.

bleedBox
Rect

The area for print production-related bleeds, registration marks, and crop marks that may appear on the physical sheet outside the logical page boundaries.

contentBox
Rect

The area of the page within the margins.

Remarks

The bleedBox dimensions may be greater than the pageSize dimensions when it is expected that the physical sheets will be cropped to their final page size.

See also

Applies to