Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to set the PrintQuality property of the PageSetup class. No Name Excel Programming 1 January 14th 04 04:43 PM


All times are GMT +1. The time now is 05:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"