Book a Demo

Author Topic: Unwanted diagram padding in documents  (Read 7931 times)

bknoth2

  • EA User
  • **
  • Posts: 129
  • Karma: +2/-0
    • View Profile
Unwanted diagram padding in documents
« on: August 04, 2021, 10:18:53 am »
I'm generating documents and getting a lot of white space around the diagram frame (see below - I clicked the diagram to show all the useless white space).  How do I get diagrams in documents to not have that extra space? I want the document to treat the diagram frame as the diagram's width.



Thanks
Bruce

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Unwanted diagram padding in documents
« Reply #1 on: August 04, 2021, 11:01:26 am »
Unfortunately this has been a problem for a while and hasn't been resolved. If you search the forum you might find some suggested work arounds.
Happy to help
:)

bknoth2

  • EA User
  • **
  • Posts: 129
  • Karma: +2/-0
    • View Profile
Re: Unwanted diagram padding in documents
« Reply #2 on: August 06, 2021, 09:55:49 am »
The problem seems to go away when I switch to a "bitmap" format rather than a "metafile" format. There may be side effects I haven't run across yet.

bknoth2

  • EA User
  • **
  • Posts: 129
  • Karma: +2/-0
    • View Profile
Re: Unwanted diagram padding in documents
« Reply #3 on: August 06, 2021, 10:14:28 am »
The side effect is that EA starts report memory allocation issues when it generates the document, I suppose because the bitmaps are large. I cut the resolution down to "High" from "Very High" and then it was OK, but I'm guessing the malloc issue will come back with longer documents.

It would be nice if Sparx would fix this obvious problem with the unwanted padding. I suppose I'll file a bug report, but I'm guessing they know about it already.