SharpPlot Reference > SharpPlot Methods > DrawImage Method > (Image,String,Double,Double,Double,Double,Boolean)

SharpPlot.DrawImage Method (Image,String,Double,Double,Double,Double,Boolean)

Add image within given rectangle, possibly stretched, with alternative uri.

public void DrawImage(
    Image bmp,
    string uri,
    double left,
    double top,
    double width,
    double height,
    bool stretch
);
bmp
Image to embed (Bitmap, Metafile, PS, PDF).
uri
Image to link to at display time (SVG, XAML, VML).
left
Position of left of image.
top
Position of top of image.
width
Width to fit (defaults to image width).
height
Height to fit (defaults to image height).
stretch
Flag to stretch image (defaults to false).

See also ...

SharpPlot Members | SharpPlot.DrawImage Method


Send comments on this topic
© Dyalog Ltd 2021