SharpLeaf Reference > SharpLeaf Methods > IncludeImage Method > (String,String,BoxFlow,Double,Double,Boolean) SharpLeaf.IncludeImage Method (String,String,BoxFlow,Double,Double,Boolean)
Add image at given size, possibly stretchting to fit.
public void IncludeImage(
string filename,
string uri,
BoxFlow flow,
double width,
double height,
bool stretch
);
-
filename
- Path to image to embed at run time.
-
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
|