Private Sub Button2_Click
Dim IV As ImageView
IV.Initialize("")
IV.SetSize(555, 810) 'A great ImageView size for printing on A4 paper
IV.SetImage(XUI.LoadBitmap(File.DirAssets, "Invoice.jpg"))
IV.PreserveRatio = True
NP.PrintContent(IV, True, False, "A4", 20, 20, 20, 20, "HIGH", "Print Imageview...")
End Sub