PrintQuality in Excel using VC++

L

lkfstephen

Dear all,

Does anyone know how the set the print quality in Excel using VC++ ?

I know in VB, it can set the PrintQuality directly. But in the VC++'s
PageSetup class, it just has one function:

VARIANT PageSetupExcel::printQuality(const VARIANT& Index)
{
VARIANT result;
static BYTE parms[] =
VTS_VARIANT;
InvokeHelper(0x3fe, DISPATCH_METHOD, VT_VARIANT,
(void*)&result,
parms,
&Index);
return result;

}

Can anyone tell me how to use this function? Or more precise, how to
set
the parameter of this function?

Thank you very much.

Stephen Lai
 
Top