ComponentOne Word for WinForms
C1.C1Word.4.8 Assembly / C1.C1Word Namespace / C1WordDocument Class / SetPageSettings Method
The size of the current page.
The print margins for the current page.

In This Topic
    SetPageSettings Method
    In This Topic
    Set current page settings from this document.
    Syntax
    'Declaration
     
    Public Sub SetPageSettings( _
       ByVal pageSize As System.Drawing.SizeF, _
       ByVal margins As System.Drawing.Printing.Margins _
    ) 
    public void SetPageSettings( 
       System.Drawing.SizeF pageSize,
       System.Drawing.Printing.Margins margins
    )

    Parameters

    pageSize
    The size of the current page.
    margins
    The print margins for the current page.
    See Also