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

From Xojo Documentation

(Created page with "{{ConstructorBox | name=Constructor | owner=WebPicture | parameters= width As Integer, height As Integer, files() As FolderItem | scope=public | newinversion = 2016r2 ...")
 
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
| name=Constructor
 
| name=Constructor
 
| owner=[[WebPicture]]
 
| owner=[[WebPicture]]
| parameters= width As Integer, height As Integer, files() As [[FolderItem]]
+
| parameters= width As [[Integer]], height As [[Integer]], files() As [[FolderItem]]
 
| scope=public
 
| scope=public
 
| newinversion = 2016r2
 
| newinversion = 2016r2
 
}}
 
}}
{{Description | text=This results in 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.