Page.DrawRectangle
Page.DrawRectangle method
The process of drawing rectangle.
public long DrawRectangle(double x1, double y1, double x2, double y2)
| Parameter | Type | Description |
|---|---|---|
| x1 | Double | Specifies the x-coordinate representing the lower-left corner of the rectangle |
| y1 | Double | Specifies the y-coordinate representing the lower-left corner of the rectangle |
| x2 | Double | Specifies the x-coordinate representing the top-right corner of the rectangle |
| y2 | Double | Specifies 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
- class Page
- namespace Aspose.Diagram
- assembly Aspose.Diagram