0

I have a problem that the PDF file has no start and stop limits, when I write the line it goes on and no line goes down, how can I do that? This is a picture of the situation enter image description here This is the code I used

 Paint paint = new Paint();
                PdfDocument.PageInfo pageInfo = new PdfDocument.PageInfo.Builder((int) 585, 842, 1).create();
                PdfDocument.Page mypage1 = pdfDocument.startPage(pageInfo);
                Canvas canvas = mypage1.getCanvas();
Thomas
  • 87,414
  • 12
  • 119
  • 157

0 Answers0