set_printquality bug in Excel.PageSetup - DOTNET

This is a discussion on set_printquality bug in Excel.PageSetup - DOTNET ; I think I discovered a bug in set_printquality method in Excel.PageSetup. Example: .... Excel.Sheets xlsheets = wb.Sheets; Excel.Worksheet excelWorksheet = (Excel.Worksheet)xlsheets[1]; Excel.PageSetup ps = excelWorksheet.PageSetup; object x = ps.get_PrintQuality(1); ---> debug shows: x = 600.0 (the value from PrintQuality field ...

+ Reply to Thread
Results 1 to 2 of 2

set_printquality bug in Excel.PageSetup

  1. Default set_printquality bug in Excel.PageSetup

    I think I discovered a bug in set_printquality method in
    Excel.PageSetup. Example:
    ....
    Excel.Sheets xlsheets = wb.Sheets;
    Excel.Worksheet excelWorksheet = (Excel.Worksheet)xlsheets[1];
    Excel.PageSetup ps = excelWorksheet.PageSetup;
    object x = ps.get_PrintQuality(1);

    ---> debug shows: x = 600.0 (the value from PrintQuality field in
    Excel's "Page Setup" form)
    ---> debug shows: ps.CenterFooter = ""

    x = 300.0;
    ps.set_PrintQuality(x, Missing.Value);

    ---> debug shows: ps.CenterFooter = "300"

    After saving the file, the PrintQuality field is not changed, but you
    get a nice footer with value 300.

    Is this a bug to report, or am I doing something wrong here?

  2. Default Re: set_printquality bug in Excel.PageSetup

    Sorry, I forgot to mention, I'm using:
    ..NET framework 2.0.50727.1433
    Excel 2003 SP3 (11.8169.8172)
    Microsoft Excel 11.0 Object Library 1.5.0.0
    Microsoft Office 11.0 Object Library 2.3.0.0

+ Reply to Thread

Similar Threads

  1. Problem with Excel reports ::::Excel 2003 Migration To Excel 2007
    By Application Development in forum DOTNET
    Replies: 15
    Last Post: 10-24-2007, 08:34 AM
  2. Excel Services - Excel Web Access Part - Hide Row and Column heade
    By Application Development in forum Sharepoint
    Replies: 1
    Last Post: 09-18-2007, 11:06 AM
  3. Replies: 1
    Last Post: 09-03-2007, 09:10 AM
  4. Replies: 16
    Last Post: 07-31-2007, 08:14 AM
  5. Setting Print margins without PageSetup dialog
    By Application Development in forum basic.visual
    Replies: 4
    Last Post: 06-05-2007, 11:32 AM