PageSize Property

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

Declaration

IWPPageSize PageSize;

Description

You can use this interface to modify the page size information stored with the document.

 

All properties are twips values. 1 twip = 1/1440 inch.

 

The method SetPageWH can be used to set multiple values. The value -1 means the current value is unchanged.

 

wpdllInt1.Memo.PageSize.SetPageWH(-1, -1, 720, 720, 720, 720);

 

To make the current page size the default for new documents use Memo.TextCommandStr(19,0,"");

 

wpdllInt1.Memo.TextCommandStr(19, 0, "");

 

 

 


[idh_iwpmemo_pagesize.htm]    Copyright © 2007 by WPCubed GmbH