Book a Demo

Author Topic: Frame around image in report-document  (Read 3782 times)

BenediktRothe

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Frame around image in report-document
« on: February 20, 2017, 01:06:44 am »
Dear List-members,

I created a document-template with diagram-images by using "{Diagram.DiagramImg}".

I want EA to create a 1px-black-frame around the image in the report-document.

How can this be achieved?

Regards
Benedikt
« Last Edit: February 20, 2017, 01:12:05 am by BenediktRothe »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Frame around image in report-document
« Reply #1 on: February 21, 2017, 05:27:26 pm »
You can add the standard frame for diagram using the options (that also includes the type and name of the diagram) is that not good enough?
See Options | Diagram - Diagram Frames.

These options can be overridden in the template options as well.

If that is not what you are looking for I believe you can add borders to a paragraph in the RTF template, so I think it should be possible to add them around the {diagram.image} marker as well.
Or just create a table with a single column and row and add the image in there.

Geert

BenediktRothe

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Frame around image in report-document
« Reply #2 on: February 22, 2017, 07:18:29 pm »
Great answers, Geert - thank you very much.

I took the border-around-paragraph-option. Seemed to me the cleanest and works well.

Thanks!
Benedikt

You can add the standard frame for diagram using the options  ...
Geert