C# Class Patagames.Pdf.Net.Controls.Wpf.ThreadSafePrintDialog

Replacement class for System.Windows.PrintDialog
Mostra file Open project: Patagames/Pdf.Wpf Class Usage Examples

Public Properties

Property Type Description
_maxPage uint
_minPage uint
_userPageRangeEnabled bool

Private Properties

Property Type Description
DefaultPrintQueue PrintQueue
DefaultPrintTicket PrintTicket
UpdateArea void
VerifyPrintSettings void

Public Methods

Method Description
PrintDocument ( System.Windows.Documents.DocumentPaginator paginator, string description ) : void

Actually print an Xps Document with previously setup params

ShowDialog ( IntPtr hwnd ) : bool

Show Dialog to allow user to adjust printer/settings

Private Methods

Method Description
DefaultPrintQueue ( ) : PrintQueue

PrintQueue

DefaultPrintTicket ( ) : PrintTicket
UpdateArea ( ) : void

Set Print Area

VerifyPrintSettings ( ) : void

Ensure Queue and Ticket prepared

Method Details

PrintDocument() public method

Actually print an Xps Document with previously setup params
public PrintDocument ( System.Windows.Documents.DocumentPaginator paginator, string description ) : void
paginator System.Windows.Documents.DocumentPaginator Document to print
description string Description
return void

ShowDialog() public method

Show Dialog to allow user to adjust printer/settings
public ShowDialog ( IntPtr hwnd ) : bool
hwnd System.IntPtr Window owner
return bool

Property Details

_maxPage public_oe property

public uint _maxPage
return uint

_minPage public_oe property

public uint _minPage
return uint

_userPageRangeEnabled public_oe property

public bool _userPageRangeEnabled
return bool