realbasic-nug.it
[Top] [All Lists]

MaxHorizontalResolution

To: REALbasic Italian NUG <realbasic-nug dot it at lists dot realsoftware dot com>
Subject: MaxHorizontalResolution
From: Gualeni Giovanni <ggualeni at tiscali dot it>
Date: Fri, 29 Sep 2006 08:54:18 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug dot it at lists dot realsoftware dot com
A tutti un fragoroso... salve,
la faccio breve, il manuale di riferimento riporta quanto segue:

MaxHorizontalResolution -> Integer
Set to the maximum horizontal resolution at which you wish to print. The default value is 72. You can change it to the maximum printer resolution you’re prepared to handle or -1 for the highest possible resolution of the output device. After calling PageSetupDialog, OpenPrinter, or OpenPrinterDialog, the HorizontalResolution property will automatically be set to the highest resolution supported by the printer driver, within your specified constraints. Printing will then occur at that resolution. Will not affect existing code.

Se a monte di un PageSetupDialog setto MaxHorizontalResolution=-1 HorizontalResolution passa al valore massimo della stampante (nel mio caso 600dpi), con qualunque altro valore e' sempre 72dpi e resta a 72dpi anche dopo PageSetupDialog.

Perche'?
Non e' possibile settare a 300dpi (per es.) indipendentemente dalla stampante? Come stampo un'immagine su stampanti diverse mantenendo sempre la stessa dimensione in uscita?

Giovanni

<Prev in Thread] Current Thread [Next in Thread>
  • MaxHorizontalResolution, Gualeni Giovanni <=