-
HSSFClientAnchor(int dx1,int dy1,int dx2,int dy2,short col1,int row1,short col2, int row2)
- 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.
- 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里面。
[@more@]
-
相关阅读:
hdoj_1016Prime Ring Problem
毛玻璃
HDOJ1175连连看
const小结
指向二维数组的指针
关于对ACM OJ大数据递归栈溢出问题的解决方案
Hessian的使用与介绍
Tomcat调优
ant使用
ant使用
-
原文地址:https://www.cnblogs.com/zhoumeng780/p/4777891.html
Copyright © 2020-2023
润新知