DrawRectangle

Page.DrawRectangle method

The process of drawing rectangle.

public long DrawRectangle(double pinX, double pinY, double width, double height)
Parameter Type Description
pinX Double Specifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page.
pinY Double Specifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page.
width Double Specifies the width of the shape
height Double Specifies the height of the shape

Return Value

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

See Also