C# Class Patagames.Pdf.Net.Controls.Wpf.NativePrintDialog.PrintDlgEx

Inheritance: IDisposable
Show file Open project: Patagames/Pdf.Wpf

Public Methods

Method Description
Dispose ( ) : void

Private Methods

Method Description
AllocatePrintDlgExStruct ( ) : IntPtr

Allocate memory associated with PRINTDLGEX32 or PRINTDLGEX64 structures

DeallocatePrintDlgExStruct ( IntPtr ptr ) : void

Frees memory associated with PRINTDLGEX32 or PRINTDLGEX64 structures

Dispose ( bool disposing ) : void
FindPrintQueue ( string printerName ) : PrintQueue

Get the PrintQueue from the PrinterName

FindPrintTicket ( IntPtr dModeHnd, string printQueueName ) : PrintTicket

Find the PrintTicket for the queue

GetResult ( ) : uint

Get's the result from the dialog

GetResultPrintDlgExHnd ( IntPtr ptrPrintDlg ) : uint

Get dwResultAction from Dlg

GetSettings ( IntPtr nativeBuffer, string &printerName, uint &flags, System.Windows.Controls.PageRange &pageRange, IntPtr &dModeHnd ) : void

Get various settings

InitializeDevMode ( string printerName, PrintTicket printTicket ) : IntPtr

Creates DevMode structure from Ticket

InitializeDevNames ( string printerName ) : IntPtr

Set DevName structure memory

Is64Bits ( ) : bool

Helper method to determine CPU mode

PrintDlgEx ( IntPtr owner, NativePrintDialog dialog ) : Microsoft.Win32

Constructor

ShowPrintDlgEx ( ) : uint

Show dialg and return result

Method Details

Dispose() public method

public Dispose ( ) : void
return void