Raised when the control paints.
Visual Basic |
---|
Public Event Paint( _ ByVal hDC As Long, _ ByVal ViewLeft As Long, _ ByVal ViewTop As Long, _ ByVal ViewWidth As Long, _ ByVal ViewHeight As Long, _ ByVal LogicalLeft As Long, _ ByVal LogicalTop As Long, _ ByVal LogicalWidth As Long, _ ByVal LogicalHeight As Long, _ ByVal UpdateLeft As Long, _ ByVal UpdateTop As Long, _ ByVal UpdateWidth As Long, _ ByVal UpdateHeight As Long, _ ByVal ZoomFactor As Double _ ) |
- hDC
- The handle to the current device context.
- ViewLeft
- The left component of the top-left point of view.
- ViewTop
- The top component of the top-left point of view.
- ViewWidth
- The width of the view.
- ViewHeight
- The height of the view.
- LogicalLeft
- The left component of the top-left logical position in the image.
- LogicalTop
- The top component of the top-left logical position in the image.
- LogicalWidth
- The logical width of the image.
- LogicalHeight
- The logical height of the image.
- UpdateLeft
- The left component of the top-left of the update rectangle in the view.
- UpdateTop
- The top component of the top-left of the update rectangle in the view.
- UpdateWidth
- The width of the update rectangle in the view.
- UpdateHeight
- The height of the update rectangle in the view.
- ZoomFactor
- A double value which represents the zoom factor.
This event can be called by using the enumEventID enumeration.