I have TPanel. On this Panel there is an TImage descendant , few other panels with controls, etc. In fact, picture contains some diagram, while additional panels with labels are created during runtime to provide user with additional info.
Recently I was told, that it would be nice, if it was possible to print this panel, and have it on the paper just as it appears in form. Any clues, how to do it?
相关问题
- Is there a Delphi 5 component that can handle .png
- Is there a way to install Delphi 2010 on Windows 2
- Is TWebBrowser dependant on IE version?
- iOS objective-c object: When to use release and wh
- DBGrid - How to set an individual background color
相关文章
- Print background image on every page once
- Python: print in two columns
- Best way to implement MVVM bindings (View <-> V
- Rounding decimals in nested data structures in Pyt
- How to control print font size
- Windows EventLog: How fast are operations with it?
- How to force Delphi compiler to display all hints
- Coloring cell background on firemonkey stringgrid
I found an old usenet post that provides a solution, by copying the contents of the panel to a bitmap, which can be printed:
and add
PrintBitmap in Birger's code example is missing, when you add the missing method it works well.