Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected override void OnImageDraw(
	Rectangle sourceRectangle,
	Rectangle destRectangle,
	Graphics 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