IPTCCaption to a text box in vb

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

Post Reply
navram
Posts: 20
Joined: Sat May 13, 2006 7:42 pm
Location: India
Contact:

IPTCCaption to a text box in vb

Post by navram »

how to get IPTCCaption to a text box in vb?
i use the following code. but, i got only first character of the caption. plz help me.

Dim MyObj As GflAx.GflAx
MyObj.LoadBitmap (File1.Path & "\" & File1.Filename)
Text1.Text = MyObj.IPTCCaption
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: IPTCCaption to a text box in vb

Post by xnview »

navram wrote:how to get IPTCCaption to a text box in vb?
i use the following code. but, i got only first character of the caption. plz help me.

Dim MyObj As GflAx.GflAx
MyObj.LoadBitmap (File1.Path & "" & File1.Filename)
Text1.Text = MyObj.IPTCCaption
Send me a email, i'll send you a fixed version...
Pierre.
Post Reply