ImagePropertyWidth

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the width of <mImage>
Associationscom.livecode.canvas
Summary

The width of an image.

Parameters
NameTypeDescription
mImage

An expression which evaluates to an image.

Example
// Load an image from a file
variable tImage as Image
put image from file "images/logo.png" into tImage

// Get the image width
variable tWidth as Integer
put the width of tImage into tWidth
Description

The width of the image in pixels.

Tagscanvas