putting picture c++ - WeOnlyDo Discussion board

putting picture c++ (General questions)

by sapna, Thursday, June 11, 2009, 09:07 (5643 days ago)

how do i receive my own picture from the wodxmpp object? do we have to use wodxmpp1.GetVCard() ; if so where does the picture get returned and how do we use the returned value?

Re: putting picture c++

by woddrazen, Thursday, June 11, 2009, 10:59 (5643 days ago) @ sapna

Hi,


In order to receive your (or some other user)VCard picture you should use XMPPVCard object Photo Property (or PhotoData Property) inside VCardDetails Event.

More help for Photo Property you can find here:
http://www.weonlydo.com/XMPP/Help/WODXMPPLib~XMPPVCard~Photo.html

In order to Receives VCard from the server you should use XMPPVCard object Receive Method.

More help for Receive Method you can find here:
http://www.weonlydo.com/XMPP/Help/WODXMPPLib~XMPPVCard~Receive.html

Let us know how it goes.


Regards,
Drazen