Hi guys,
can a panel be printed without the frame and the panelname?
kr
Michel
printPanel
- eMTy
- Posts:22
- Joined: Wed Aug 17, 2011 3:33 pm
Re: printPanel
Can I optionally change the title, if it isn't possible to remove it?
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: printPanel
It uses the panel title you defined in Gedi for this panel
- fmulder
- Posts:330
- Joined: Wed Feb 03, 2010 9:46 am
Re: printPanel
Maybe the following is an option:
1) Open the panel in an 'embedded module'
2) Let the module safe itself into a bitmap on disk
3) Use a command line tool to print this bitmap
4) [optionally] delete the bitmap
The following link shows some options to print the bitmap:
http://stackoverflow.com/questions/2301 ... nt-picture
Good luck
1) Open the panel in an 'embedded module'
2) Let the module safe itself into a bitmap on disk
3) Use a command line tool to print this bitmap
4) [optionally] delete the bitmap
The following link shows some options to print the bitmap:
http://stackoverflow.com/questions/2301 ... nt-picture
Good luck
- eMTy
- Posts:22
- Joined: Wed Aug 17, 2011 3:33 pm
Re: printPanel
Thanks, I'll try that
But how can I save a module as bitmap?
- fmulder
- Posts:330
- Joined: Wed Feb 03, 2010 9:46 am
Re: printPanel
Just load the panel into an embedded module. Then use the method 'imageToFile()' that every shape has.
so:
MyModule.imageToFile( "c:/tmp/snapshot.png" );
Good luck !
so:
MyModule.imageToFile( "c:/tmp/snapshot.png" );
Good luck !