IWPPageSizeList Interface

[Top]  [Chapter]  [Previous]  [Next]

You can use this property to install different page sizes for each page.

 

For Example If you need the first page to be extra lager. In this case just create 1 entry for the first page and another for all subsequent pages.

 

You can use the method Clear to remove all page size elements.

 

Use Add(int Width, int Height) or AddEx(int Width, int Height, int MargLeft, int MargRight, int MargTop, int MargBottom) to append a new entry.

 

Unless LastPageMaxHeight is set to true, all pages after the last definition will use the properties of the last definition.

 

Tip: To retrieve a page as meta file use GetPageAsMetafile.

 

Please see this demo. This interface is used by PageSizeList.


[idh_interface_iwppagesizelist.htm]    Copyright © 2007 by WPCubed GmbH