ImageMan ActiveX Control Version 8
PrnHdc Property
See Also  Send comments on this topic.

Glossary Item Box


Specifies the Windows Printer device context used for printing images.

Property type

Read-write property


Visual Basic
Public Property PrnHdc As Integer


If you’re not using the PrintStart, PrintNextPage, PrintEndDoc methods this property must be set to the value of the Printer display context before printing an image. In Visual Basic you can set PrnHdc equal to Printer.hdc.

If using the PrintStart method this property will contain a Device Context that can be used with Windows API calls to draw on the printer.

See Also

© 2014 Data Techniques Inc. All Rights Reserved.