Difference between revisions of "WebPicture.Constructor(width As Integer, height As Integer, files() As FolderItem)"

From Xojo Documentation

 
Line 6: Line 6:
 
| newinversion = 2016r2
 
| newinversion = 2016r2
 
}}
 
}}
{{Description | text=Creates a multi-resolution image from picture files on the drive. It creates a file-based WebPicture which saves on memory and is only loaded/delivered to a browser when it is requested.}}
+
{{Description | text=Creates a new WebPicture based at the size indicated using the provided image files at various resolutions so that the WebPicture can draw appropriately on HiDPI screens.}}
 
 
== Notes ==
 
[[WebImageView]], [[WebCanvas]] and [[WebToolbar]] have all been updated to use the new WebPicture format and deliver high resolution images to browsers that support them.
 

Latest revision as of 14:11, 5 May 2020

Constructor

WebPicture.Constructor(width As Integer, height As Integer, files() As FolderItem)

New in 2016r2

Creates a new WebPicture based at the size indicated using the provided image files at various resolutions so that the WebPicture can draw appropriately on HiDPI screens.