WebPicture.Constructor(data as String, FileName as String)

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!


WebPicture.Constructor(data as String, fileName as String)

New in 2011r4

Creates a WebPicture from the passed string data using the specified fileName.


If you have the picture data available as a String, you can use it to create a WebPicture:

Var myPicture As New WebPicture(pictureData, "MyPicture.png")