System::Drawing::Printing Namespace Reference

Classes

class  Margins
 
class  PageSettings
 
class  PrintController
 
class  PrintDocument
 
class  PrinterResolution
 
class  PrinterSettings
 
class  PrintEventArgs
 
class  PrintPageEventArgs
 
class  QueryPageSettingsEventArgs
 
class  StandardPrintController
 

Typedefs

using PrintPageEventHandler = System::EventHandler< System::SharedPtr< PrintPageEventArgs > >
 A type of a function that handles PrintPage event. More...
 
using PrintEventHandler = System::EventHandler< System::SharedPtr< PrintEventArgs > >
 A type of a function object that handles BeginPrint and EndPrint events. More...
 

Enumerations

enum  PrintAction { PrintAction::PrintToFile = 0, PrintAction::PrintToPreview = 1, PrintAction::PrintToPrinter = 2 }
 Specifies a type of print operation. More...
 
enum  PrintRange { PrintRange::AllPages = 0x00000000, PrintRange::Selection = 0x00000001, PrintRange::SomePages = 0x00000002, PrintRange::CurrentPage = 0x00400000 }
 Specifies what pages are printed. More...
 

Typedef Documentation

◆ PrintEventHandler

A type of a function object that handles BeginPrint and EndPrint events.

◆ PrintPageEventHandler

A type of a function that handles PrintPage event.

Enumeration Type Documentation

◆ PrintAction

Specifies a type of print operation.

Enumerator
PrintToFile 

Printing to a file.

PrintToPreview 

Printing preview.

PrintToPrinter 

Printing to a printer.

◆ PrintRange

Specifies what pages are printed.

Enumerator
AllPages 

Print all pages.

Selection 

Print selected pages.

SomePages 

Print pages from the specified range.

CurrentPage 

Print currently displayed page.