ComponentOne Word for WPF
C1.WPF.Word.4.5.2 Assembly / C1.WPF.Word 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 Size, _
       ByVal margins As Size _
    ) 
    public void SetPageSettings( 
       Size pageSize,
       Size margins
    )

    Parameters

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