-
Notifications
You must be signed in to change notification settings - Fork 47
Page Control
shairontoledo edited this page Sep 13, 2010
·
1 revision
It goes to the next page and resets the cursor values(recommended).
doc=RGhost::Document.new
doc.show "Page 1 row 1"
doc.next_page
doc.show "Page 2 row 1"
doc.next_page
doc.show "Page 3 row 1"
It goes to the next page without resetting the cursor values. Often used for single page documents.
doc=RGhost::Document.new
doc.show "Page 1 row 1"
doc.showpage # page 2, but internally page 1
doc.show "Page 1 row 1"
doc.showpage # page 3
doc.show "Page 1 row 1"