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 ...")
 
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 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.}}
  
 
== Notes ==
 
== 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.
+
[[WebImageView]], [[WebCanvas]] and [[WebToolbar]] have all been updated to use the new WebPicture format and deliver high resolution images to browsers that support them.

Revision as of 14:51, 3 October 2018

Constructor

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

New in 2016r2

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.

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.