Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Report margin
Re: Report margin [message #4406 is a reply to message #4404] |
Sat, 05 August 2006 07:35   |
|
I guess those functions would be convenient, but it depends on how you would implement it. What I'm doing right now is:
Size sz(5100-1200*ScanDouble(SSsetting.Get("printLeftMargin","1")),6600-1200*ScanDouble(SSsetting.Get("printTopMargin","1")));
Report report(sz);
to convert from inches (SSsetting is a VectorMap<String,String>).
Normally it would be sufficient to SetMarginSides(int dots) and SetMarginTopBottom(int dots) but sometimes you would want to SetMarginTop different from SetMarginBottom. And if you can't do that, it could be more frustrating than its worth.
(btw, I would use MarginTop over TopMargin b/c functions would show up sequentially in Assist++ and css uses "margin-top").
|
|
|
Goto Forum:
Current Time: Sun Aug 17 05:14:01 CEST 2025
Total time taken to generate the page: 0.05909 seconds
|