trichview.support
Re: Printing: mixing portrait and landscape |
Author |
Message |
Robert Loof |
Posted: 06/07/2004 18:57:54 Thanks Sergey! > Printer.BeginDoc; > RVPrint.StartAt := 0; > RVPrint.AssignSource(RichView1); > RVPrint.FormatPages(rvdoALL); > RVPrint.ContinuousPrint; > Printer.NewPage; > RVPrint.AssignSource(RichView2); > RVPrint.FormatPages(rvdoALL); > RVPrint.ContinuousPrint; > Printer.EndDoc; - Will this allow mixing of landscape and portrait? - Is something similar possible for previewing? - Is Printer the standard VCL TPrinter? > You can try to use RVPrint.GetFirstItemOnPage to create a TOC That won't help me I think. Picture again the treeview. Every node corresponds to a RV document and the first line of every document is a header that has to go in the TOC. So would need to get page numbers for all those headers. What I am looking for is (for example) to set a bookmark for each header and a function like GetPageNumber(BookMark). Is that, or something like it, possible? All the best, Robert |
Powered by ABC Amber Outlook Express Converter