SharpLeaf Reference > Box : PageElement Class > Box Constructor > (Double,Double,Double,Double,BoxStyle)

Box Constructor (Double,Double,Double,Double,BoxStyle)

Create a new box definition.

public Box(
    double xfrom,
    double yfrom,
    double xto,
    double yto,
    BoxStyle style
);
xfrom
Coordinates in points (positive from top/left of paper, negative from bottom/right).
yfrom
Coordinates in points (positive from top/left of paper, negative from bottom/right).
xto
Coordinates in points (positive from top/left of paper, negative from bottom/right).
yto
Coordinates in points (positive from top/left of paper, negative from bottom/right).
style
Box decoration attributes.

See also ...

Box.Members | Box.Box Constructor


Send comments on this topic
© Dyalog Ltd 2021