ImageViewerOnImageDraw Method |
This method is used to draw the image onto the
Viewport graphics.
Namespace:
Atalasoft.Imaging.WinControls
Assembly:
Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.5.0.5.0.230 (.NET 4.6.2, x86)
Syntaxprotected override void OnImageDraw(
Rectangle sourceRectangle,
Rectangle destRectangle,
Graphics graphics
)
Protected Overrides Sub OnImageDraw (
sourceRectangle As Rectangle,
destRectangle As Rectangle,
graphics As Graphics
)
Parameters
- sourceRectangle
- Type: System.DrawingRectangle
The Rectangle from the source image to draw from. - destRectangle
- Type: System.DrawingRectangle
The Rectangle of the graphics to draw on. - graphics
- Type: System.DrawingGraphics
The Graphics of the viewport to draw on.
See Also