Asposecpplib
System::Drawing::Printing Namespace Reference

Classes

class  Margins
 Represents margins of a printed page. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  PageSettings
 Represents settings of a printed page. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  PrintController
 Controls how a document is printed, when printing from a Windows Forms application. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  PrintDocument
 Sends output to a printer, when printing from a Windows Forms application. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  PrinterResolution
 Represents a resolution of a printer. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  PrinterSettings
 Represents settings of a printer. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  PrintEventArgs
 Provides data for the BeginPrint and EndPrint events. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  PrintPageEventArgs
 Provides data for PrintPage event. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  QueryPageSettingsEventArgs
 Provides data for the QueryPageSettings event. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  StandardPrintController
 Specifies a print controller that sends information to a printer. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 

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.