Prints the image to the supplied printer device context.
Visual Basic |
---|
Public Sub PrintImage( _ ByVal hDC As Long, _ ByVal left As Long, _ ByVal top As Long, _ ByVal width As Long, _ ByVal height As Long, _ ByVal eUnits As IX_GraphicsUnit, _ ByVal eType As IX_PrintType _ ) |
- hDC
- The handle to the printer's device context.
- left
- The left component of the top-left coordinate in the device context where the image will be printed to.
- top
- The top component of the top-left coordinate in the device context where the image will be printed to.
- width
- The width of the desired printed image in the device context.
- height
- The height of the desired printed image in the device context.
- eUnits
An IX_GraphicsUnit enumeration value.Value Description IX_GraphicsUnit_Display Display IX_GraphicsUnit_Document Document IX_GraphicsUnit_Inch Inch IX_GraphicsUnit_Millimeter Millimeter IX_GraphicsUnit_Pixel Pixel IX_GraphicsUnit_Point Point IX_GraphicsUnit_Twip Twip IX_GraphicsUnit_World World - eType
An IX_PrintType enumeration value.Value Description IX_PrintType_FullImage Full image IX_PrintType_Rubberband Rubberbanded image IX_PrintType_ViewCroppedImage Cropped image