GraphicsExtensionsDrawImage(IGraphics, IBitmap, PointF) Method
Draws the specified portion of the specified Image at the specified location.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
public static void DrawImage(
this IGraphics g,
IBitmap bmp,
PointF pnt
)
<ExtensionAttribute>
Public Shared Sub DrawImage (
g As IGraphics,
bmp As IBitmap,
pnt As PointF
)
public:
[ExtensionAttribute]
static void DrawImage(
IGraphics^ g,
IBitmap^ bmp,
PointF pnt
)
[<ExtensionAttribute>]
static member DrawImage :
g : IGraphics *
bmp : IBitmap *
pnt : PointF -> unit
- g IGraphics
- bmp IBitmap
- IBitmap to draw.
- pnt PointF
- Specifies the upper-left corner of the drawn image.
In Visual Basic and C#, you can call this method as an instance method on any object of type
IGraphics. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).