hDCPrinter Property
Applies To
fpSpread control
Description
Sets or returns a device context handle (HDC) for a printer for creating custom printing configurations. This property is available at run time only.
Syntax
C++
long CSpreadSheet::GethDCPrinter( );
void CSpreadSheet::SethDCPrinter(long value);
Visual Basic
[form.]fpSpread.hDCPrinter[ = value%]
Remarks
The default setting for the hDCPrinter property is 0, which specifies that the Windows default settings are used to create a device context handle for the printer. The hDCPrinter property can be set to a printer HDC created using a common dialog to provide the user with more control over printing configurations.
Data Type
Long Integer
See Also
PrintSheet method
DLL Correspondence
SSPrint function