I have the following peace of WPTools 4 code (BCB 5):
At the end of (may be it's better to do this before?) a SuperMerge generation I optionally set a new paper size (from the printer):
if (UsePaperFromPrinter) {
WP->PaperDefs->Init( true );
WP->ReadPaperSizeFromPrinter();
WP->ReformatAll( false, false );
}
ReadPaperSizeFromPrinter() doesn't exist anymore. How to get the same functionality with WpTools 5?
ReformatAll got two parameters. To get the same functionality as in WPTools 4, how to set them : false/false or false/true or... ?
Should I always call WP->Invalidate() at the end?
Do I have to call it, even if the second parameter (RepaintMemo) of ReformatAll is true?
Thank you in advance,
E. Hess