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:
- use fmx printing api.
- make screen shot of form calling
makescreenshotmethod. - 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
Post a Comment