HSSFClientAnchor 说明
来源:互联网 发布:高德地图数据采集器 编辑:程序博客网 时间:2024/05/29 17:55
- public HSSFClientAnchor(int dx1,int dy1,int dx2,int dy2,short col1,int row1,short col2,
- int row2);Creates a new client anchor and sets the top-left and bottom-right coordinates of the anchor.
- Parameters:
- dx1 - the x coordinate within the first cell.
- dy1 - the y coordinate within the first cell.
- dx2 - the x coordinate within the second cell.
- dy2 - the y coordinate within the second cell.
dx2:第二个单元格的开始X坐标
dy2:第二个单元格的开始y坐标
- col1 - the column (0 based); of the first cell.
- row1 - the row (0 based); of the first cell.
- col2 - the column (0 based); of the second cell.
- row2 - the row (0 based); of the second cell.
- col1 图片的左上角放在第几个列cell,
row1 图片的左上角放在第几个行cell,
col2 图片的右下角放在第几个列cell,
row2 图片的右下角放在第几个行cell, - 列宽
sheet.setColumnWidth((short)column,(short)width);
行高
row.setHeight((short)height); - 添加多个图片时:多个pic应该share同一个DrawingPatriarch在同一个sheet里面。
0 0
- HSSFClientAnchor 说明
- 用NPOI操作EXCEL--画线(HSSFClientAnchor和HSSFSimpleShape 使用)
- 用NPOI操作EXCEL关于HSSFClientAnchor(dx1,dy1,dx2,dy2,col1,row1,col2,row2)的参数
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- 说明
- php提取图片实验(自己用)
- 异常处理介绍
- 冬令营一月三十号工作日志
- 【Android入门 八】消息机制
- android sdk安装
- HSSFClientAnchor 说明
- iOS开发-tableView上显示悬浮按钮悬浮窗
- C++ 函数参数传递-非引用形参
- java生成xml
- UI进阶第九发:触摸
- 新生训练赛round2--H. Can you find it?
- IOS根据ISBN查找书本信息
- Chapter 1. Getting Started
- linux下查找CPU占用过高的代码问题