Initializes a new instance of the class.
Namespace:
Greatis.PrintSuiteAssembly: Greatis.PrintSuite (in Greatis.PrintSuite.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ documentsection As Integer, _ documentpage As Integer, _ documentprovider As Integer, _ documentcontent As Integer, _ sectionpage As Integer, _ sectionprovider As Integer, _ sectioncontent As Integer, _ pageprovider As Integer, _ pagecontent As Integer, _ providerpage As Integer, _ providercontent As Integer, _ gr As Graphics, _ contentregion As Region, _ contentbounds As Rectangle, _ marginbounds As Rectangle, _ pagebounds As Rectangle, _ pagesettings As PageSettings _ ) |
C# |
---|
public PrintContentEventArgs( int documentsection, int documentpage, int documentprovider, int documentcontent, int sectionpage, int sectionprovider, int sectioncontent, int pageprovider, int pagecontent, int providerpage, int providercontent, Graphics gr, Region contentregion, Rectangle contentbounds, Rectangle marginbounds, Rectangle pagebounds, PageSettings pagesettings ) |
Visual C++ |
---|
public: PrintContentEventArgs( int documentsection, int documentpage, int documentprovider, int documentcontent, int sectionpage, int sectionprovider, int sectioncontent, int pageprovider, int pagecontent, int providerpage, int providercontent, Graphics^ gr, Region^ contentregion, Rectangle contentbounds, Rectangle marginbounds, Rectangle pagebounds, PageSettings^ pagesettings ) |
JavaScript |
---|
Greatis.PrintSuite.PrintContentEventArgs = function(documentsection, documentpage, documentprovider, documentcontent, sectionpage, sectionprovider, sectioncontent, pageprovider, pagecontent, providerpage, providercontent, gr, contentregion, contentbounds, marginbounds, pagebounds, pagesettings); |
Parameters
- documentsection
- Type: System..::.Int32
Zero-based index of current section within the document.
- documentpage
- Type: System..::.Int32
Zero-based index of current page within the document.
- documentprovider
- Type: System..::.Int32
Zero-based index of current provider within the document.
- documentcontent
- Type: System..::.Int32
Zero-based index of current content within the document.
- sectionpage
- Type: System..::.Int32
Zero-based index of current page within current section.
- sectionprovider
- Type: System..::.Int32
Zero-based index of current provider within current section.
- sectioncontent
- Type: System..::.Int32
Zero-based index of current content within current section.
- pageprovider
- Type: System..::.Int32
Zero-based index of current provider within current page.
- pagecontent
- Type: System..::.Int32
Zero-based index of current content within current page.
- providerpage
- Type: System..::.Int32
Zero-based index of current page within current provider.
- providercontent
- Type: System..::.Int32
Zero-based index of current content within current provider.
- gr
- Type: System.Drawing..::.Graphics
Graphics object used for drawing the content.
- contentregion
- Type: System.Drawing..::.Region
Region available for printing.
- contentbounds
- Type: System.Drawing..::.Rectangle
Rectangular area available for printing.
- marginbounds
- Type: System.Drawing..::.Rectangle
Rectangular area that represents the portion of the page inside the margins.
- pagebounds
- Type: System.Drawing..::.Rectangle
Rectangular area that represents the total area of the page.
- pagesettings
- Type: System.Drawing.Printing..::.PageSettings
Page settings for the current page.