Difference between revisions of "image.height"

From Inspired-Lua Wiki
Jump to navigation Jump to search
m (Text replace - "| <u>" to "| <u><center>")
m (Text replace - "</u> ||" to "</center></u> ||")
 
Line 12: Line 12:
 
! Parameter !! Type !! Description
 
! Parameter !! Type !! Description
 
|-
 
|-
| <u><center>image</u> || [[TI.Image]] || The image you want to the height of.
+
| <u><center>image</center></u> || [[TI.Image]] || The image you want to the height of.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 00:41, 31 May 2011

image.height is a function that is part of image.

This has been introduced in TI-Nspire OS 3.0 (Changes).


This function returns as an integer the height, in pixels, of the given image.

Syntax

image.height(image)

Parameter Type Description
image
TI.Image The image you want to the height of.

Example

imageHeight = image.height(theImage)

See also