[Gambas-user] Grab command

tobi tobiasboege01 at ...1601...
Fri Apr 20 17:01:59 CEST 2012


On Thu, 19 Apr 2012, trat50 wrote:
> 
> I would like some help the syntax of the Grab command.
> I want to save a DrawingArea as a png or jpg file.
> Would someone please post a short example. Thank you. 
> -- 
> View this message in context: http://old.nabble.com/Grab-command-tp33715676p33715676.html
> Sent from the gambas-user mailing list archive at Nabble.com.
> 
> 
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

If you are talking about GB2, you can do:

DrawingArea.Grab().Save(Path, [Quality])

However, in GB3, the Grab method is entirely different. Refer to
http://www.gambasdoc.org/help/comp/gb.qt4/control/grab?v3

Regards,
Tobi




More information about the User mailing list