DocumentPage Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示