'Declaration Public Function New( _
ByVal isPreviewA value indicating whether the WpfImagePrintManager is used for print preview.As Boolean, _
ByVal drawingContextA DrawingContext used to paint the page.As System.Windows.Media.DrawingContext, _
ByVal pageSizeA System.Windows.Size structure that defines the size of the page, in device-independent pixels (1/96th inch).As System.Windows.Size, _
ByVal pageAreaA System.Windows.Rect structure that defines an area on the page, in device-independent pixels (1/96th inch), within which images can be printed.As System.Windows.Rect, _
ByVal pageIndexThe zero-based index of the printing page.As System.Int32 _
)
public WpfPagePrintEventArgs(
bool isPreview,
System.Windows.Media.DrawingContext drawingContext,
System.Windows.Size pageSize,
System.Windows.Rect pageArea,
System.Int32 pageIndex
)
public: WpfPagePrintEventArgs(
bool isPreview,
System.Windows.Media.DrawingContext drawingContext,
System.Windows.Size* pageSize,
System.Windows.Rect* pageArea,
System.Int32 pageIndex
)
public:
WpfPagePrintEventArgs(
bool isPreview,
System.Windows.Media.DrawingContext drawingContext,
System.Windows.Size^ pageSize,
System.Windows.Rect^ pageArea,
System.Int32 pageIndex
)
Parameters
- isPreview
- A value indicating whether the WpfImagePrintManager is used for print preview.
- drawingContext
- A DrawingContext used to paint the page.
- pageSize
- A System.Windows.Size structure that defines the size of the page, in device-independent pixels (1/96th inch).
- pageArea
- A System.Windows.Rect structure that defines an area on the page, in device-independent pixels (1/96th inch), within which images can be printed.
- pageIndex
- The zero-based index of the printing page.