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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기