DocumentPage 构造函数

定义

初始化 DocumentPage 类的新实例。

重载

名称 说明
DocumentPage(Visual)

使用指定的DocumentPage值初始化类的新实例Visual

DocumentPage(Visual, Size, Rect, Rect)

使用指定的DocumentPage和框大小初始化类的新实例Visual

DocumentPage(Visual)

使用指定的DocumentPage值初始化类的新实例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)

参数

visual
Visual

页面的可视表示形式。

适用于

DocumentPage(Visual, Size, Rect, Rect)

使用指定的DocumentPage和框大小初始化类的新实例Visual

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)

参数

visual
Visual

页面的可视表示形式。

pageSize
Size

页面的大小,包括页边距,因为它将在任何裁剪之后。

bleedBox
Rect

打印与生产相关的出血、注册标记和裁剪标记的区域,这些标记可能显示在逻辑页面边界之外的物理工作表上。

contentBox
Rect

页边距中的区域。

注解

bleedBox 预计物理工作表将裁剪为其最终页面大小时,维度可能大于 pageSize 维度。

另请参阅

适用于