For an Image object named Image1, use the following syntax to create a new object named positionInfo that will contain the Return Values for the properties listed
var positionInfo = Image1.GetDisplayData()
Note: In this example, the Return Values of the properties for image1 become properties of the new object positionInfo. To reference a particular property within the new Object, use the following syntax: var ImageAngle = positionInfo.angle
var ImageTrans = positionInfo.transparency