Tips and Frequently Asked Questions
Printing webview contents
Printing the webview current document, can be done with the following code, it requires the units
MacApi.AppKit MacApi.ObjectiveC MacApi.ObjcRuntime
var printInfo: NSPrintInfo; printOperation: NSPrintOperation; fv, dv: NSView; begin printInfo := TNSPrintInfo.Wrap(TNSPrintInfo.OCClass.sharedPrintInfo); fv := TNSView.Wrap(objc_msgSend((TMSFMXNativeWebView1.WebView.mainFrame as ILocalObject).GetObjectID, sel_getUid('frameView'))); dv := TNSView.Wrap(objc_msgSend((fv as ILocalObject).GetObjectID, sel_getUid('documentView'))); printOperation := TNSPrintOperation.Wrap(TNSPrintOperation.OCClass.printOperationWithView(dv, printInfo)); printOperation.setShowPanels(True); printOperation.runOperation; end
Pricing
Single Developer License
Small Team License
Site License
TMS mCL
€ 125
€
75
yearly renewal
license for 1 developer
BEST VALUE
All prices excl. VAT. Renewal price is subject to change and only valid up to 30 days after license has expired. After renewal period a discount price is offered to renew the license.