Click or drag to resize

AtalaImageDraw Method (Graphics, Rectangle, Rectangle, Boolean)

Draws a specified area of this AtalaImage onto a System.Drawing.Graphics object at the specified location and size.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void Draw(
	Graphics graphics,
	Rectangle destRect,
	Rectangle srcRect,
	bool renderBottomTop
)

Parameters

graphics
Type: System.DrawingGraphics
The Graphics object to draw on.
destRect
Type: System.DrawingRectangle
The rectangular area of the Graphics object to draw on.
srcRect
Type: System.DrawingRectangle
The rectangular area of the source image to draw.
renderBottomTop
Type: SystemBoolean
When true, the image will be forced to draw bottom to top.
Remarks
This method will draw the image onto a graphics object and convert to a bottom-top Bitmap if necessary. Some devices such as printers will fail when drawing a top-bottom image such as those internally stored in DotImage and .NET.
See Also