realbasic-nug
[Top] [All Lists]

page number for styleTextPrinter

To: realbasic-nug@lists.realsoftware.com
Subject: page number for styleTextPrinter
From: Bruce Moore <bruce@macestimating.com>
Date: Sun, 30 Nov 2008 12:59:29 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
I have a styled edit field that I print using styletextPrinter and since the text in the field is variable and styletextPrinter determines the page breaks, I cannot pre-print the page numbers in the editfield. How can I add page numbers to print at the bottom of the pages as styletextPrinter is breaking the pages? I print with:

      If g <> Nil then
        stp=ef.StyledTextPrinter(g,p.Width)
        do until stp.eof
          stp.DrawBlock 0,0,p.Height
          if not stp.eof then g.nextpage
        loop
      End if

--
Bruce Moore
Manassas, Virginia



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • page number for styleTextPrinter, Bruce Moore <=