How to release a Picture object returned by GetPicture ?

Discussions about image processing and document imaging.
Post Reply
oneuser
Posts: 10
Joined: Wed May 23, 2007 11:12 am

How to release a Picture object returned by GetPicture ?

Post by 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.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Post by 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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests