ImageGear .NET v25.2 - Updated
ImageGear.Formats.Office Assembly / ImageGear.Formats.Office Namespace / ImGearWordDocument Class / Repaginate Method / Repaginate(Double,Double,ImGearWordRenderOptions) Method
Desired width of the page in pixels.
Desired height of the page in pixels.
The combination of render options.




In This Topic
    Repaginate(Double,Double,ImGearWordRenderOptions) Method
    In This Topic
    Forces pagination of the document content, creates new Page array.
    Syntax
    'Declaration
     
    Public Overloads Sub Repaginate( _
       ByVal pageWidth As Double, _
       ByVal pageHeight As Double, _
       ByVal renderOptions As ImGearWordRenderOptions _
    ) 
    'Usage
     
    Dim instance As ImGearWordDocument
    Dim pageWidth As Double
    Dim pageHeight As Double
    Dim renderOptions As ImGearWordRenderOptions
     
    instance.Repaginate(pageWidth, pageHeight, renderOptions)
    public void Repaginate( 
       double pageWidth,
       double pageHeight,
       ImGearWordRenderOptions renderOptions
    )
    public: void Repaginate( 
       double pageWidth,
       double pageHeight,
       ImGearWordRenderOptions renderOptions
    ) 
    public:
    void Repaginate( 
       double pageWidth,
       double pageHeight,
       ImGearWordRenderOptions renderOptions
    ) 

    Parameters

    pageWidth
    Desired width of the page in pixels.
    pageHeight
    Desired height of the page in pixels.
    renderOptions
    The combination of render options.
    Exceptions
    ExceptionDescription
    Thrown if either of provided page dimensions is invalid.
    Remarks

    In case of absence of page dimensions within the package, ImageGear by default uses letter size: 8.5"(width) x 11"(height) (1" is equal to 96 pixels).

    So, the default page dimensions are 816 x 1056 pixels.

    The renderOptions provides rendering customization options.

    See Also