rbmatt Messages: 90 Registered: July 2006 Location: Tennesse, USA
Any way to set margins in a report?
I see that by default a report is SetPageSize(3968, 6074); and setting it to sz(5100,6600) gives a page with no margin. So I can do makeshift margins by reducing the size by how much I want for a margin. But I don't see a way to specify, for example, a different top margin from bottom margin. There a(n easy) way?
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").