PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / CurrentPageLayout Property

In This Topic
    CurrentPageLayout Property (C1PrintDocument)
    In This Topic
    Gets the effective layout for the current page. That layout is automatically built on the fly by merging all applicable layouts defined for the current document in PageLayouts. You may change the properties on CurrentPageLayout programmatically. The changes will be effective immediately if they are made in the PageConfigure event handler, otherwise they will take effect for the next added page.

    Note that this property is only available during document generation, at other times null is returned.

    Syntax
    'Declaration
     
    Public ReadOnly Property CurrentPageLayout As PageLayout
    public PageLayout CurrentPageLayout {get;}
    See Also