Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
rbmatt is currently offline  rbmatt
Messages: 90
Registered: July 2006
Location: Tennesse, USA
Member

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").
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Any video streaming capabilities?
Next Topic: PATCH: JPG plugin bugfix
Goto Forum:
  


Current Time: Sat Aug 16 19:36:55 CEST 2025

Total time taken to generate the page: 0.05428 seconds