Click or drag to resize

FndRTLGraphics.DrawImage Method (Image, Rectangle, Int32, Int32, Int32, Int32, GraphicsUnit, ImageAttributes)

Draws the specified portion of the specified System.Drawing.Image at the specified location and with the specified size.

Namespace:  Ifs.Fnd.Core
Assembly:  Ifs.Fnd.Core (in Ifs.Fnd.Core.dll) Version: 4.52.10.0 (10.2.2.9999)
Syntax
C#
public void DrawImage(
	Image image,
	Rectangle destRect,
	int srcX,
	int srcY,
	int srcWidth,
	int srcHeight,
	GraphicsUnit srcUnit,
	ImageAttributes imageAttr
)

Parameters

image
Type: System.Drawing.Image
System.Drawing.Image to draw.
destRect
Type: System.Drawing.Rectangle
System.Drawing.Rectangle structure that specifies the location and size of the drawn image. The image is scaled to fit the rectangle.
srcX
Type: System.Int32
The x-coordinate of the upper-left corner of the portion of the source image to draw.
srcY
Type: System.Int32
The y-coordinate of the upper-left corner of the portion of the source image to draw.
srcWidth
Type: System.Int32
Width of the portion of the source image to draw.
srcHeight
Type: System.Int32
Height of the portion of the source image to draw.
srcUnit
Type: System.Drawing.GraphicsUnit
Member of the System.Drawing.GraphicsUnit enumeration that specifies the units of measure used to determine the source rectangle.
imageAttr
Type: System.Drawing.Imaging.ImageAttributes
System.Drawing.Imaging.ImageAttributes that specifies recoloring and gamma information for the image object.
See Also