Page.DrawRectangle

Page.DrawRectangle method

The process of drawing rectangle.

public long DrawRectangle(double x1, double y1, double x2, double y2)
ParameterTypeDescription
x1DoubleSpecifies the x-coordinate representing the lower-left corner of the rectangle
y1DoubleSpecifies the y-coordinate representing the lower-left corner of the rectangle
x2DoubleSpecifies the x-coordinate representing the top-right corner of the rectangle
y2DoubleSpecifies the y-coordinate representing the top-right corner of the rectangle

Return Value

The unique ID of the shape within shapes collection on the specified page.

See Also