Page.DrawRectangle

Page.DrawRectangle method

The process of drawing rectangle.

public long DrawRectangle(double pinX, double pinY, double width, double height)
ParameterTypeDescription
pinXDoubleSpecifies the x-coordinate of the shape’s pin (center of rotation) in relation to the page.
pinYDoubleSpecifies the y-coordinate of the shape’s pin (center of rotation) in relation to the page.
widthDoubleSpecifies the width of the shape
heightDoubleSpecifies the height of the shape

Return Value

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

See Also