The getWidth() method returns the horizontal size in pixels.
Syntax
<object name>.getWidth();
Parameters
This function has no parameters.
Example
if (image.getWidth() == 480)
{...
Copyright © 2004-2020 Automated Media Processing Solutions, Inc. dba Equilibrium. All rights reserved.
On-Line Documentation