PrintEnhancedMetafile vs DPlot_Command
Posted: Tue Dec 16, 2014 12:00 pm
I'm writing an interface to graph complex data. I'm using BTEST4 to figure out how to do different tasks. My question is what are the advantages vs disadvantages of using PrintEnhancedMetafile vs DPlot_Command printing.
*The enhancedmetafile call scales the result to the picturebox and that print routine in BTEST4 uses a margin of 0.25 (is this value critical?), but except for the resolution most other variables seem fixed (for example LOGPIXELSX & LOGPIXELSY and HORZRES & VertRES) from printer to printer. Given an 8.5x11 page size and 0.25 margins, it seems the ratios should be 1.31 (they are 1.02 and 1.25 respectively) Why is this and where did you get the numbers. Do I switch values to get landscape?
* If I send size and layout (WindowTile, FilePageSetup, & FilePrintMultiple) commands to dplot (for example to get a plot that is sized to the upper-left quadrant) does that information get passed to PrintEnhancedMetafile or is it wiped out by the code that sizes the metafile to the picturebox on the screen.
* Which gives the better vector file result? Typically users may print to PDF and our illustrators would tidy up the results for publication). I'm trying to get as close as possible to the end product.
*The enhancedmetafile call scales the result to the picturebox and that print routine in BTEST4 uses a margin of 0.25 (is this value critical?), but except for the resolution most other variables seem fixed (for example LOGPIXELSX & LOGPIXELSY and HORZRES & VertRES) from printer to printer. Given an 8.5x11 page size and 0.25 margins, it seems the ratios should be 1.31 (they are 1.02 and 1.25 respectively) Why is this and where did you get the numbers. Do I switch values to get landscape?
* If I send size and layout (WindowTile, FilePageSetup, & FilePrintMultiple) commands to dplot (for example to get a plot that is sized to the upper-left quadrant) does that information get passed to PrintEnhancedMetafile or is it wiped out by the code that sizes the metafile to the picturebox on the screen.
* Which gives the better vector file result? Typically users may print to PDF and our illustrators would tidy up the results for publication). I'm trying to get as close as possible to the end product.