System.Windows.Forms.Label.DrawImage Method

Draws an System.Drawing.Image within the specified bounds.

Syntax

protected void DrawImage (System.Drawing.Graphics g, System.Drawing.Image image, System.Drawing.Rectangle r, System.Drawing.ContentAlignment align)

Parameters

g
The System.Drawing.Graphics surface on which to draw.
image
The System.Drawing.Image to draw.
r
The System.Drawing.Rectangle bounds to draw within.
align
The alignment of the image to draw within the System.Windows.Forms.Label.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0