<Icon> Element

Meas. mode:
Scope
Eye
TDR
Package License:
L-RND
L-SNT

When the user measurement is created, an associated measurement button appears on FlexDCA's User tab. The optional <Icon> element allows you to display (overlay) a custom image on the button. This picture shows two user measurement buttons. The middle button was created using a custom icon. The bottom button is a default button (without an icon).

To create an icon, use a camera or drawing application and create a png, bmp, or jpg graphic. Although FlexDCA will scale the image, it is recommended that your graphic be 120 pixels wide by 80 pixels high (1.5 width to height ratio). The minimum size should be 60 pixels by 40 pixels. The 120 x 80 pixel high will ensure good quality buttons for all display situations.

The default folder for icons is the same User Measurements folder where the XML file is placed. Specify the picture's path and name between the opening and closing elements. If, for example, you placed your graphic file in a sub-folder called icons, the path/name specifier would be:

<Icon>icons/my_icon.png</Icon>

Parent Elements

Child Elements

None

Attributes

None

Example

  • <Measurement>
  • <Name>My Eye MEas</Name>
  • <Abbreviation>MyEye</Abbreviation>
  • <Icon>EyeMeasBtn.png</Icon>
  • </Measurement>