David,
I looked, as you suggested at the Options dialog. I see the three check boxes for Diagram Frames. I played around a little to confirm my suspicions, and it seems that they turn on or off the diagram frames for various output types.
I think I spoke vaguely about my diagram frame problems. I want to be able to programmatically select diagrams and send them to the printer via an Add-In. I can't find a way to say diagram.Print(), which is what I really want. My discussion on frames was sort of a backup plan. Instead of diagram.Print(), I might be able to say diagram.SaveToFile(), then using my own internal code load the image into memory and print it.
This backup plan is undesired because of the way EA outputs to images versus to printed pages. When printing a page with a diagram on it, the frame is (almost) 8.5 by 11, going around the outside of the printed page. The diagram boxes are then inside it somewhere. When outputting to an image, the frame is close to the boxes (since you presumably wouldn't want a lot of internal white space in an image file). The second issue with this backup plan is when a diagram is large, and therefore spans two pages. Opening it and printing through EA causes each page to have its own border, both labeled in the top-left. An image, though, simply gets wide enough to fit it. If I print that image, it will span two pages, but only have one large border around the both of them. The behavior I want it identical to the Print option, but I cannot find a way to do it programmatically.
Nevertheless, your suggestion did offer another alternative.. I could save the diagram without a frame, then add the frame (or frames) myself afterward (with appropriate internal white space). This is a lot more work than I wanted to do to print a diagram, though. I'm still hoping there is an easier way.
Continued Thanks,
David