0

Image Control (version 24)

Properties

  • *Name - a unique name used to reference the control in script
  • Height - the height of the control in pixels
  • HorizontalAlignment - sets the horizontal alignment of the image within the control: Left, Center, and Right
  • ImageSource - opens a browse dialogue to upload a custom image to the application
  • IsVisible - a checkbox to show or hide the control
  • Repeat - repeats the image within the control horizontally, vertically, or both: None, RepeatX, RepeatY, RepeatXY
  • Scale - determines how the image will scale within the control
    • None - will center the content without scaling it
    • Uniform - will fit the content inside the control while preserving the aspect ratio without clipping
    • UniformToFill - will fit the content inside the control while preserving the aspect ratio with clipping
    • Fill - will fit the content to the size of the control without preserving the aspect ratio
  • VerticalAlignment - sets the vertical alignment of the image within the control: Top, Middle, Bottom
  • Width - the width of the control in pixels
  • X - the horizontal coordinate of the top-left corner in relation to its parent container
  • Y - the vertical coordinate of the top-left corner in relation to its parent container
  • *OnClick - used to trigger a script that runs when the image is clicked

* These properties are only available to Canary users listed on the Axiom>Script access control list within the Identity tile.

Reply

null