Raised when the image prints to a printer device context.
Visual Basic |
---|
Public Event PrintImage( _ ByVal hDC As Long, _ ByVal PrintLeft As Single, _ ByVal PrintTop As Single, _ ByVal PrintWidth As Single, _ ByVal PrintHeight As Single, _ ByVal units As IX_GraphicsUnit, _ ByVal ImageLeft As Long, _ ByVal ImageTop As Long, _ ByVal ImageWidth As Long, _ ByVal ImageHeight As Long, _ ByVal printType As IX_PrintType _ ) |
- hDC
- The handle to the current printer device context.
- PrintLeft
- The left component of the top-left point of the print rectangle on the paper.
- PrintTop
- The top component of the top-left point of the print rectangle on the paper.
- PrintWidth
- The width of the print rectangle on the paper.
- PrintHeight
- The height of the print rectangle on the paper.
- units
An IX_GraphicsUnit value which represents the unit of measurement for the graphics.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 - ImageLeft
- The left component of the top-left position of the image to print.
- ImageTop
- The top component of the top-left position of the image to print.
- ImageWidth
- The width of the image to print.
- ImageHeight
- The height of the image to print.
- printType
an IX_PrintType value which represents the print type to use.Value Description IX_PrintType_FullImage Full image IX_PrintType_Rubberband Rubberbanded image IX_PrintType_ViewCroppedImage Cropped image