PdfDocument can be used to create Pdf files with one or more pages. Example: pdf.Initialize pdf.StartPage(595, 842) 'A4 size pdf.Canvas.DrawLine(2, 2, 593 , 840, Colors.Blue, 4)
pdf.Canvas.DrawText("Hello", 100, 100, Typeface.DEFAULT_BOLD, 30, Colors.Yellow, "CENTER")
pdf.FinishPage DimoutAsOutputStream = File.OpenOutput(File.DirRootExternal, "1.pdf", False)
pdf.WriteToStream(out)
out.Close pdf.Close
The printer object allows printing bitmaps, html strings and WebView content using the system printing feature. This is an 'Activity Object', it cannot be declared under Sub Process_Globals.