ImageGear for .NET
Repaginate Method
See Also  Send Feedback
ImageGear21.Formats.Office Assembly > ImageGear.Formats.Office Namespace > ImGearWordDocument Class : Repaginate Method




pageWidth
Desired width of the page in pixels.
pageHeight
Desired height of the page in pixels.

Glossary Item Box

Forces pagination of the document content, creates new Page array.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

pageWidth
Desired width of the page in pixels.
pageHeight
Desired height of the page in pixels.

Exceptions

ExceptionDescription
ImageGear.Core.ImGearExceptionThrown if either of provided page dimensions is invalid.

Remarks

Page dimensions of the document are stored in the WordprocessingML package. ImageGear retrieves them (if any) and applies upon loading of the document.

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.