since the new WPSuperMerge does not use the page information it does not matter when the page size is changed. You can even change it later or type in the created report. If then the page breaks changed this should not harm the integrity of the report - asumed the automatic header/footers have been set up correctly.
To assign the current paper size used by the printer use
WPRichText.ReadPrinterProperties;
ReformatAll gets the optional parameters:
Initialize
RePaint
The first should be always false - except - if you have changed a style sheet. Only then the RTFEngine does not know which paragraphs need to be initialized. (Initialization means the the characters are measured, a rather slow process although highly optimized in WPTools)
Repaint can be set to paint the memo as sson as the application is idle.
Usually you do not have to call ReformatAll, only if you need to print the report right away.
Invalidate should not be used WPTools 5 (no effect).
#2♥ 0
This category is archived. No new posts are possible.