Navigation:  Interfaces (Technical API Reference) > General: WPDllInt + IWPMemo/IWPEditor > Events > RTF2PDF / TextDynamic >

OnMeasurePage Event

Previous pageReturn to chapter overviewNext page

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".

Category

Modify the layout of the text display