Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

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