[Gambas-user] Grab command

trat50 trat50 at ...67...
Fri Apr 20 17:28:53 CEST 2012


Hi Tobi, I just tried that - but it still blacks out anything not visible on
the computer monitor.


tobi-15 wrote:
> 
> 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
> 
> ------------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: http://old.nabble.com/Grab-command-tp33715676p33721340.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list