PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / OnPageConfigure Method
The newly added C1Page object.

In This Topic
    OnPageConfigure Method (C1PrintDocument)
    In This Topic
    Called when a new empty page is created and added to the current document, raises the PageConfigure event. When this method is called, the C1Page has already been added to the Pages collection but has not yet been resolved. If overridden in a derived class, must call the base method; can be used to change the layout of the new page.
    Syntax
    'Declaration
     
    Protected Overridable Function OnPageConfigure( _
       ByVal page As C1Page _
    ) As PageLayout
    protected virtual PageLayout OnPageConfigure( 
       C1Page page
    )

    Parameters

    page
    The newly added C1Page object.

    Return Value

    The PageLayout object created by the PageConfigure event, or null.
    See Also