Book a Demo

Author Topic: How to decorate a connector with an image  (Read 3031 times)

jakob

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
How to decorate a connector with an image
« on: April 15, 2011, 11:57:02 pm »
Hi!

I'm trying to decorate a connector with a custom (emf) image. I tried the following:

Code: [Select]
shape MiddleTopLabel {
      noShadow = true;
      image("triangle_32.emf",0,0,100,100);
}

In the shape editor the preview works fine but on my diagrams the image won't be displayed. The MiddleTopLabel seems to be not shown when no text is printed.

I tried the following:
Code: [Select]
shape MiddleTopLabel {
      noShadow = true;
      print("");
      image("triangle_32.emf",0,0,100,100);
}
Then the image will be displayed but it is very small. I assume that the MiddleTopLabel's size is somehow set to constant value after printing a (empty) text(?)

How can I decorate my connectors with large images in a "clean" way?

Thank you very much!