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

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

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

public void DrawImage(
    string filename,
    string uri,
    double left,
    double top,
    double width,
    double height,
    bool stretch
);
filename
Image to embed at render time (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