添加图片图形int  AddBmpFileShape

int  AddBmpFileShape (int  xLeft, int  yTop, int  xRight, int  yBottom, string  lpszFileName, string  lpszCaption)

功能:在当前页面上添加一个图片图形。注:图片不支持PNG格式

xLeft:超级连接的左边位置单位为像素。

xTop:超级连接的上边位置单位为像素。

xRight:超级连接的右边位置单位为像素。

xBottom:超级连接的下边位置单位为像素。

lpszFileName:图片的全路径。注:路径中的“\”要用双“\\

lpszCaption:图片图形的标题。

返回值:图形的ID

例:int  x=AddBmpFileShape(300, 300, 500, 500,"C:\\Users\\Administrator\\Desktop\\图片缓存\\设置.bmp","abc");

效果: