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
);
-
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 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
|