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

From Xojo Documentation

Revision as of 19:34, 2 August 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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")