Hi all,
This might have bearing on my earlier posts
Divide Diagram into Multiple Pages divides it into one page and
Rotate Images scales images incorrectly.
I've got an oversize diagram, and I generate documents through the
DocumentGenerator API. I make a straightforward call to
DocumentElement(), and the template is trivial.
Both script and template are deployed in an MDG Technology, which is located on disk (not imported into the project).
The diagram covers a grid of 2x2 pages (A4, portrait).
The diagram Page Setup - Scaled Printing property is set to None.
If I run the script with the diagram open in the GUI, the generated document contains the full diagram split into four images.
If I run the script without the diagram open, the generated document contains only the top-left image. The remaining content is not output into the document.
I have once set the diagram to Custom scaled printing, but I have since set it back to None. (As I have also reported, this is not the same as never changing it from None.)
I've verified that it doesn't matter if the diagram is currently shown as the active diagram. If it's open but in a non-active tab, I get the 4-way split. If it's not open, I get the top-left image only.
So... Yeah.
/Uffe