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

In This Topic
    OnPageConfigure Method (SampleC1PrintDocument)
    In This Topic
    Called when a new empty page is created and added to the current document, raises the C1.C1Preview.C1PrintDocument.PageConfigure event. When this method is called, the C1.C1Preview.C1Page has already been added to the C1.C1Preview.C1PrintDocument.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 C1.C1Preview.C1Page object.

    Return Value

    See Also