User Tools

Site Tools


IMAGE

Guide Section: An EASAP GUI / Diagramming
EASAP Tree:
USER INTERFACE > FORM LIST or TABBED PANE LIST > FORM or TABBED PANE
USER INTERFACE > DIAGRAM LIST > DIAGRAM


IMAGE displays image files in the Input region of a TABBED PANE as well as in the Diagram region.

Three file formats may be imported into an EASAP:

  • Graphics Interchange Format (*.gif)
  • JPEG Format (*.jpg, *.jpeg)
  • Portable Network Graphics Format (*.png)

Upload an Image File

After an image file is uploaded to the EASA Server via:

  • EASA > Author > Authoring > Files menu on the EASA pages
  • EASAP Builder > Files Tab

The filename will appear in the dropdown list in Image:

Alternatively, select an IMAGE EXCEL ACTION from the dropdown list in Image from Action:

IMAGE
Under USER INTERFACEEssential Parameters: (none)
Optional Parameters:
Image:Image file name (*.gif, *.jpg, *.png)
Image from Action:IMAGE EXCEL ACTION to use as the image source
Chart Reference:Select a CHART REFERENCE to display an existing chart from an Excel spreadsheet
Show if:Logical expression, if true then image shown else image is not shown (default: true )
Tool Tip:Text to be displayed as a tool tip
Style:A USER INTERFACE STYLE or an object reference to modify the display of this component
Rowspan:Span vertically across more than one cell in a parent LAYOUT PANEL or SUB PANE (with Layout: GRID)
Colspan:Span horizontally across more than one cell in a parent LAYOUT PANEL or SUB PANE (with Layout: GRID)
Under DIAGRAMEssential Parameters:
Origin:Point coordinates of lower left corner of image (ie. 0,0)
Optional Parameters:
Image from Action:Select IMAGE EXCEL ACTION used to produce image
Size:Width and height of image in units of base length scale (meters) or in pixels
Transform:Select one or more TRANSFORM's from list. Order selected is order applied
Define in Pixels:Allows disabling of auto-fitting and retaining Size: in pixels (default: FALSE, TRUE)
Image:Image file name (*.gif, *.jpg, *.png)
Show if:Logical expression, if TRUE then image shown else image not shown (default: true)
Tool Tip:Text to be displayed as a tool tip
Style:A USER INTERFACE STYLE or an object reference to modify the display of this component.
Rowspan:Span vertically across more than one cell in a parent LAYOUT PANEL or SUB PANE with Layout: GRID
Colspan:Span horizontally across more than one cell in a parent LAYOUT PANEL or SUB PANE with Layout: GRID

Size:

All image files (*.gif, *.jpg, *.png) have an existing width and height. If you want to maintain an images’s aspect ratio, you will need to know the existing width and height, and then set the Size: parameter using width and height having an equivalent ratio.


Define in Pixels:

If your imported images are being distorted unacceptably, set Define in Pixels: parameter to maintain the original resolution of the image file.


Origin: and Size: for native DIAGRAM's

If an imported image is to be used in conjunction with a native DIAGRAM, then you will most likely have to specify the Origin: and Size: parameters using expressions containing the same object references used in the native object parameters.


Note: If you specify the size of an imported image in pixels, then all other DIAGRAM's need to be sized relative to the number of pixels in each direction.