+ Reply to Thread
Results 1 to 2 of 2

PrintQuality

Hybrid View

  1. #1
    Rob A.
    Guest

    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_PrintQuality
    which looks like this
    set_PrintQuality( System.Object Index , System.Object)
    I am not sure what I should pass in.... any help?



  2. #2
    Rob A.
    Guest

    RE: 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_PrintQuality
    > which looks like this
    > set_PrintQuality( System.Object Index , System.Object)
    > I am not sure what I should pass in.... any help?
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1