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

The "global" page size is defined by the interface IWPPageSize.


It is accessible through property Memo.PageSize.


When You use the "popup editor" mode You have no access to IWPMemo. You can use commands such as "SendMessage(edhwnd, WMP_SETIPROP, WIPR_ED1_PAGE_WIDTH ...)" to change the page size as well, please see the "examples".


The property PageSize is used to modify the current document. You can use the method MakeDefault to copy the settings to the storage for the default page size. Then this page size is applied when the text is cleared to create a new document. Consequently ReadDefault is used to read the current default page size.



[general.htm]    Copyright © 2007 by WPCubed GmbH