SvgGraphicsDrawImage Method
Draws the specified portion of the specified Image at the specified location and with the specified size.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
public void DrawImage(
IBitmap bmp,
RectangleF destRect,
RectangleF srcRect
)
Public Sub DrawImage (
bmp As IBitmap,
destRect As RectangleF,
srcRect As RectangleF
)
public:
virtual void DrawImage(
IBitmap^ bmp,
RectangleF destRect,
RectangleF srcRect
) sealed
abstract DrawImage :
bmp : IBitmap *
destRect : RectangleF *
srcRect : RectangleF -> unit
override DrawImage :
bmp : IBitmap *
destRect : RectangleF *
srcRect : RectangleF -> unit
- bmp IBitmap
- IBitmap to draw.
- destRect RectangleF
- RectangleF structure that specifies the location and size of the drawn image. The image is scaled to fit the rectangle.
- srcRect RectangleF
- RectangleF structure that specifies the portion of the image object to draw.
IGraphicsDrawImage(IBitmap, RectangleF, RectangleF)