B4J Question How to print Tableview?

Anastasios Michaelides

Member
Licensed User
Longtime User
Hello
I am trying to print the contents of a tableview but i have problem.
This code only prints the visible part of the tableview:
B4X:
Dim PJ As PrinterJob = PrinterJob_Static.CreatePrinterJob
    PJ.ShowPageSetupDialog(Null)
    PJ.ShowPrintDialog(Null)
    PJ.PrintPage(TableView1)
    PJ.EndJob
 

stevel05

Expert
Licensed User
Longtime User
The JavaFX print routine will print what is visible in the view. To print a full page, you will need to manipulate the view to display the size you want. Or use a second view.
 
Upvote 0
Top