WebPicture.Constructor(mb as MemoryBlock, FileName as String)

From Xojo Documentation

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

Constructor

WebPicture.Constructor(mb as MemoryBlock, FileName as String)

New in 2011r4

Creates a WebPicture from mb using the supplied filename.

Example

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

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