SharpLeaf Reference > ImageBlock : PageElement Class > ImageBlock Constructor > (String,String,Double,Double,Double,Double)

ImageBlock Constructor (String,String,Double,Double,Double,Double)

Scale picture without stretching.

public ImageBlock(
    string filename,
    string url,
    double xfrom,
    double yfrom,
    double width,
    double height
);
filename
File name to use for embedding at report creation time (Raster format and PS and PDF).
url
URL to point at display time to for web formats (SVG and XAML).
xfrom
Point where to draw image (positive : from paper top left corner, negative : from paper right bottom corner).
yfrom
Point where to draw image (positive : from paper top left corner, negative : from paper right bottom corner).
width
Size of image (0 for default – direction determined by signum of xfrom/yfrom), positive size towards right/bottom, negative size towards top/left.
height
Size of image (0 for default – direction determined by.

See also ...

ImageBlock.Members | ImageBlock.ImageBlock Constructor


Send comments on this topic
© Dyalog Ltd 2021