Spread 8.0 Documentation
hDCPrinter Property
Support Options
ActiveX Reference > ActiveX Properties > hDCPrinter Property

Glossary Item Box

hDCPrinter Property


See Also    DLL

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.