添加静态文本int  AddTextShape

int  AddTextShape (int  xLeft, int  xTop, int  xRight, int  xBottom, string  lpszText)

功能:在当前页面上添加一个静态文本

xLeft:静态文本的左边位置单位为像素。

xTop:静态文本的上边位置单位为像素。

xRight:静态文本的右边位置单位为像素。

xBottom:静态文本的下边位置单位为像素。

lpszCaption:静态文本的文字。

返回值:矩形的ID

例:string  x=AddTextShape(300, 300, 500, 500, "abcdefg");

效果: