Click or drag to resize

FndRTLGraphics.DrawImage Method (Image, Rectangle, Single, Single, Single, Single, 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,
	float srcX,
	float srcY,
	float srcWidth,
	float srcHeight,
	GraphicsUnit srcUnit,
	ImageAttributes imageAttrs
)

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.Single
The x-coordinate of the upper-left corner of the portion of the source image to draw.
srcY
Type: System.Single
The y-coordinate of the upper-left corner of the portion of the source image to draw.
srcWidth
Type: System.Single
Width of the portion of the source image to draw.
srcHeight
Type: System.Single
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.
imageAttrs
Type: System.Drawing.Imaging.ImageAttributes
System.Drawing.Imaging.ImageAttributes that specifies recoloring and gamma information for the image object.
See Also