int AddRectShape (int xLeft, int xTop, int xRight, int xBottom, string lpszCaption)
功能:在当前页面上添加一个矩形
xLeft:矩形的左边位置单位为像素。
xTop:矩形的上边位置单位为像素。
xRight:矩形的右边位置单位为像素。
xBottom:矩形的下边位置单位为像素。
lpszCaption:矩形的标题。
返回值:矩形的ID
例:int x=AddRectShape(300, 300, 500, 500, "abc");
效果: