Skip to content

DeviceContext - PrintDialog

Holds a handle to the device context that can be used in windows API calls.

Type: Property
Access: Read/Write
Data Type: Handle
Parameters: None

Syntax

Property Handle DeviceContext
Access Type Syntax
Read Access: Get DeviceContext to HandleVariable
Write Access: Set DeviceContext to HandleVariable/Value

Description

After the Print dialog box is closed and the Flags property contains the PD_RETURNDC flag this property holds a handle to the device context that can be used in windows API calls.