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 » LineEdit, EditFields, DocEdit » How to Print a file inside LineEdit
Re: How to Print a file inside LineEdit [message #3260 is a reply to message #3250] Tue, 16 May 2006 22:11 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, there is one important thing to know about U++ "distances".

Basically said, if the output goes to the screen, they are in pixels.

However, if there is "physical representation" (paper from the printer, or e.g. PDF which is in fact paper from the printer again), U++ uses "dots", where dot is defined as "pixel in 600dpi resolution".

And that is what GetSize returns. Actually, those numbers are choosen for A4 page and are indeed quite conservative (in fact, most printers are capable printing in much wider area, but it is different for each printer). When Report prints the page out, it takes "printer" page dimension and centres report size whithin it.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to let appear by default the bar in the LineEdit?
Next Topic: Append separate Strings to a DocEdit[SOLVED]
Goto Forum:
  


Current Time: Sat Apr 27 22:49:03 CEST 2024

Total time taken to generate the page: 0.02470 seconds