This functionality is only available for certain module packages.

You are here: Tutorial > Word > Creating formulas for image objects in the parameters

Creating formulas for image objects in the parameters

The text #{Image:Logo} is now shown instead of the EPLAN logo on the cover sheet of the ListOfComponents. A formula that returns the image of the EPLAN logo is now used for the Logo parameter.

  1. Open the Feeder station.
  2. Select the installed components ListOfComponents.

  1. Enter the following formula for the Logo parameter in the Value column:

=type('T_Mechatronic_ModularSystem.Images.Logo').image

With type(‘T_Mechatronic_ModularSystem.Images.Logo’), the formula identifies the image object Logo and returns the image using the Image method.

In the Word component Row, the Icon parameter is contained in the first column of the table. Only the text #{Image:Icon} was previously displayed.

A formula is now added for the Icon parameter in the Word component Row. This identifies an image in the Actuators_Sensors_Imageregister image register that matches the type of the current components.

  1. Open the component Row in the Word_Components unit.
  2. Enter the following formula for the Icon parameter:

=type('T_Mechatronic_ModularSystem.Images.Actuators_Sensors_Imageregister').image(mc.type)

  1. Save the component Row.

More: