delphi - How can I print a Firemonkey form on Windows? -


in delphi vcl easy print form since form had print method. not seem case forms in fmx. there easy way print form in fmx on windows?

the process follows:

  1. use fmx printing api.
  2. make screen shot of form calling makescreenshot method.
  3. print screen shot printer.canvas.drawbitmap.

since tform not derive tcontrol, , makescreenshot tcontrol method, cannot call makescreenshot on form. you'll need overall container forms controls on can call makescreenshot.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

node.js - Bad Request - node js ajax post -

uitableview - Create and use custom prototype table cells in xamarin ios using storyboard -