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

Replacement class for System.Windows.PrintDialog
Afficher le fichier Open project: Patagames/Pdf.Wpf Class Usage Examples

Méthodes publiques

Свойство Type Description
_maxPage uint
_minPage uint
_userPageRangeEnabled bool

Private Properties

Свойство Type Description
DefaultPrintQueue PrintQueue
DefaultPrintTicket PrintTicket
UpdateArea void
VerifyPrintSettings void

Méthodes publiques

Méthode 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

Méthode Description
DefaultPrintQueue ( ) : PrintQueue

PrintQueue

DefaultPrintTicket ( ) : PrintTicket
UpdateArea ( ) : void

Set Print Area

VerifyPrintSettings ( ) : void

Ensure Queue and Ticket prepared

Method Details

PrintDocument() public méthode

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
Résultat void

ShowDialog() public méthode

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

Property Details

_maxPage public_oe property

public uint _maxPage
Résultat uint

_minPage public_oe property

public uint _minPage
Résultat uint

_userPageRangeEnabled public_oe property

public bool _userPageRangeEnabled
Résultat bool