Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to save HTMLViewer to PDF with landscape orientation?
Answer: You can use NSPrintInfoMBS to change the options for PrintToPDFFile function.
Example:
// make it landscape
dim n as NSPrintInfoMBS = NSPrintInfoMBS.sharedPrintInfo
n.orientation = n.NSLandscapeOrientation

// save html to file
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")
call HTMLViewer1.PrintToPDFFileMBS(f,10,30,10,30)
Notes:
You may want to reset options later.
This code is only for Mac OS X.

Feedback, Comments & Corrections





Links
MBS Xojo Chart Plugins