ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   PrintQuality (https://www.excelbanter.com/excel-programming/326666-printquality.html)

Rob A.

PrintQuality
 
i am printing to from excel to the MODI print driver as tif files and want to
control the dpi on the output, so i found the following written in vb
------
PrintQuality = Array(300, 300) 'adjust as desired
-------
how does this translate to the c# function i have via
Microsoft.Office.Interop.Excel.PageSetup.set_Print Quality
which looks like this
set_PrintQuality( System.Object Index , System.Object)
I am not sure what I should pass in.... any help?



Rob A.

PrintQuality
 
object[] y = new Object[]{300, 300};
ps.set_PrintQuality(y, Type.Missing);

"Rob A." wrote:

i am printing to from excel to the MODI print driver as tif files and want to
control the dpi on the output, so i found the following written in vb
------
PrintQuality = Array(300, 300) 'adjust as desired
-------
how does this translate to the c# function i have via
Microsoft.Office.Interop.Excel.PageSetup.set_Print Quality
which looks like this
set_PrintQuality( System.Object Index , System.Object)
I am not sure what I should pass in.... any help?




All times are GMT +1. The time now is 11:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com