Images collection
Represents an individual image object available in the Resource Manager (an user interface utility used to load, manage and share picture in the Interactive Reporting document file.
BMP—Bitmap (default picture object)
GIF—Graphic Interchange Format
JPG, JPEG—JPEG File Interchange Format
PNG—Portable Network Graphics Format
The Height (Property) for this object determines the Height in pixels of the specific image in the Resource Manager. The property is read-only, and the value returned is a non-string number between zero and the maximum height of the image. The default value of the property is the maximum height of the image.
For an Image object, this property determines the width in pixels of the specific image in the Resource Manager. The property is read-only, and the value returned is a non-string number between zero and the maximum width of the image. The default value of the property is the maximum width of the image.
The Name (Property) for this object is equivalent to reading the name in the Resource Manager user interface. The property is read-write, and returns a string representing the name of the image. The Default value of the property is the name of the image. The property persists with the document/application.
The UID (Property) for this object is equivalent to reading the unique identifier of a Resource Manager image. The property is read-only and the value returned is a string representing this unique identifier. The property value is unique; there is no default value.
This example shows how to show the height of a Resource Manager image in a text box:
//Clear all TextBoxes except TextBox5 TextBox1.Text = "" TextBox2.Text = "" TextBox3.Text = "" TextBox4.Text = ActiveSection.Name var ActionName = "RM Height" TextBox1.Text ="Start " + ActionName if (TextBox5.Text == "") { TextBox1.Text ="Step 1" try { TextBox3.Text = "Height is: " + ActiveSection.Shapes["Picture"].RMImage.Height } catch(e) { TextBox2.Text = "Caught: " + e.toString() } } else { TextBox1.Text ="Step 2" try { ActiveSection.Shapes["Picture"].RMImage.Height = TextBox5.Text } catch(e) { TextBox2.Text = "Caught: " + e.toString() } TextBox1.Text ="Step 3" try { TextBox3.Text = "Height is: " + ActiveSection.Shapes["Picture"].RMImage.Height } catch(e) { TextBox2.Text = "Caught: " + e.toString() } } TextBox1.Text ="End " + ActionName
Read only:Height as Number, UID as String, Width as Number
Read write:Name as String