public HSSFPicture createPicture(HSSFClientAnchor anchor, int pictureIndex) {HSSFPicture shape = new HSSFPicture(null, anchor);shape.setPictureIndex(pictureIndex);addShape(shape);onCreate(shape);return shape;}
public IPicture CreatePicture(HSSFClientAnchor anchor, int pictureIndex){HSSFPicture shape = new HSSFPicture(null, (HSSFClientAnchor)anchor);shape.PictureIndex = pictureIndex;AddShape(shape);OnCreate(shape);return shape;}