Click or drag to resize

ViewportOnImageDraw Method

Override this method to draw the image onto the viewport.

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 abstract void OnImageDraw(
	Rectangle sourceRectangle,
	Rectangle destRectangle,
	Graphics graphics
)

Parameters

sourceRectangle
Type: System.DrawingRectangle
The bounding rectangle of the source image.
destRectangle
Type: System.DrawingRectangle
The rectangle indicating the position and size to fit the source rectangle into.
graphics
Type: System.DrawingGraphics
The Graphics object to draw the image onto.
See Also