SharpLeaf Reference > SharpLeaf Methods > IncludeImage Method > (Image,String,BoxFlow,Double,Double,Boolean)

SharpLeaf.IncludeImage Method (Image,String,BoxFlow,Double,Double,Boolean)

Add image at given size, possibly stretching to fit.

public void IncludeImage(
    Image bmp,
    string uri,
    BoxFlow flow,
    double width,
    double height,
    bool stretch
);
bmp
Image to embed.
uri
Link to image at display time.
flow
How to flow the image (BoxFlow.Paragraph by default).
width
Size to use for image (0 for default, negative for proportion of available frame area).
height
Size to use for image (0 for default, negative for proportion of available frame area).
stretch
Stretch image to fit bounding box exactly (false by default) (applies only when both width and height are non-zero).

See also ...

SharpLeaf Members | SharpLeaf.IncludeImage Method


Send comments on this topic
© Dyalog Ltd 2021