Alaska Software Inc. - Print preview with page break
Username: Password:
AuthorTopic: Print preview with page break
Jari SolloPrint preview with page break
on Wed, 22 Jan 2014 14:48:35 +0200
Hi!
I am trying to learn the use of Xbppreview by exploring< preview.prg>  and I 
do not have a clue how multiple page preview should be done.
Could somebody please "draw me apicture"?

-Jari-
Itai Ben-ArtziRe: Print preview with page break
on Fri, 24 Jan 2014 01:22:28 -0800
Jari,
1. Instantiate a page as presentation space:
        oPage := xbpPresSpace():new()
        oPage:create( oAreaDevice, aPageSize, GRA_PU_LOMETRIC )

2. add to the presentation space the content of your report:
        GraStringAt( oPage, {nX,nY}, 'Hello world')

3. Close the page and add it to array of pages
        oPage:configure()
        AAdd( aPages, oPage )
4. Loop back to step 1 with additional pages
5. Preview all pages (add buttons to navigate, zoom, print, etc.)

-Itai
Jari SolloRe: Print preview with page break
on Mon, 27 Jan 2014 16:18:00 +0200
Ok thanks Itai, I'll try that. On the other hand I have problems to success 
even with one simple page. There is simple code attached, which does not 
work. Something is missing. I think I haven't understood the main idea. Need 
some help again, please.

-Jari-

"Jari Sollo" kirjoitti 
viestissä:42eb572c$6b94e067$123a91@news.alaska-software.com...

Hi!
I am trying to learn the use of Xbppreview by exploring< preview.prg>  and I
do not have a clue how multiple page preview should be done.
Could somebody please "draw me apicture"?

-Jari-


Esik.prg