| SharpLeaf Reference > ImageBlock : PageElement Class > SetCoordinates Method >  (Double,Double,Double,Double) ImageBlock.SetCoordinates Method (Double,Double,Double,Double)Set the position and size of the image. public void SetCoordinates(
    double xfrom,
    double yfrom,
    double width,
    double height
);
xfromPoint where to draw image (positive : from paper top left corner, negative : from paper right bottom corner).
yfromPoint where to draw image (positive : from paper top left corner, negative : from paper right bottom corner).
widthSize of image (0 for default – direction determined by signum of xfrom/yfrom), positive size towards right/bottom, negative size towards top/left.
heightSize of image (0 for default – direction determined by signum of xfrom/yfrom), positive size towards right/bottom, negative size towards top/left.
 See also ...ImageBlock.Members | ImageBlock.SetCoordinates Method 
 Send comments on this topic© Dyalog Ltd 2021
 |