Loading...

How to release a Picture object returned by GetPicture ?

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

How to release a Picture object returned by GetPicture ?

Postby oneuser » Wed May 23, 2007 11:20 am

Hello.
In the documentation of gdpicturepro about object.GetPicture () there is:
DO NOT FORGET to release StdPicture object with the DeletePictureObject()
method.
I didn't find a way to call this method (every try I made I got an error)
and there is not an example.
Could you please give me an example in Visual Basic 6?
Thank you.
Last edited by oneuser on Wed May 23, 2007 11:50 am, edited 1 time in total.
- From esupport message -
oneuser
 
Posts: 10
Joined: Wed May 23, 2007 11:12 am

Postby Loïc » Wed May 23, 2007 11:24 am

Hi,

Code: Select all
Dim oPicture As StdPicture

Set oPicture = oGdPicture.GetPicture

Call oGdPicture.DeletePictureObject(oPicture)



Don't forget the "Call"


Best regards,

Loïc Carrère
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron