Platforms to show: All Mac Windows Linux Cross-Platform

Back to PictureFactoryMBS class.

PictureFactoryMBS.NewPictureMBS(Width as Integer, Height as Integer, ImageFormat as Integer) as PictureMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Large Picture MBS Images Plugin 9.0 ✅ Yes ✅ Yes ✅ Yes ❌ No
The factory event.
Example
function NewPictureMBS(Width as Integer, Height as Integer, ImageFormat as Integer) as PictureMBS

return new PictureMBS(width, height, ImageFormat)

end function

This event is called whenever a picture is requested.
Return an picture you created.
The plugin will check the Valid property for this picture and use it only if Valid is true.

See also:

Some examples using this event:

The items on this page are in the following plugins: MBS Images Plugin.


The biggest plugin in space...