OnMeasurePage Event

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

Declaration C#

OnMeasurePage(Object Sender, int Editor, int PageNr, IWPMeasurePageParam Size)


Declaration OCX

OnMeasurePage(ByVal Editor As Long, ByVal PageNr As Long, ByVal Size As WPTDynInt.IWPMeasurePageParam)


TextDynamic supports different page sizes in one document using RTF sections. If you want to change the page size for certain pages using code it you should use this event. You can easily update the properties in the parameter interface Size. The modified size will be only used for the page with the number "PageNr".


Modify the layout of the text display

[idh_wpdllint_onmeasurepage.htm]    Copyright © 2007 by WPCubed GmbH