ImageIF.getImageSize

Get the width and height in pixels for the specified image. The values of width and height are returned as -1 if the values cannot be obtained (for instance, if the object is not onscreen).

interface ImageIF
void
getImageSize
(
out int width
,
out int height
)

Parameters

width int

filled with the image width, or -1 if the value cannot be obtained.

height int

filled with the image height, or -1 if the value cannot be obtained.