zoukankan      html  css  js  c++  java
  • HSSFClientAnchor(int dx1,int dy1,int dx2,int dy2,short col1,int row1,short col2, int row2)

     
    1. public HSSFClientAnchor(int dx1,
    2. int dy1,
    3. int dx2,
    4. int dy2,
    5. short col1,
    6. int row1,
    7. short col2,
    8. int row2);Creates a new client anchor and sets the top-left and bottom-right coordinates of the anchor.
    9. Parameters:
    10. dx1 - the x coordinate within the first cell.
    11. dy1 - the y coordinate within the first cell.
    12. dx2 - the x coordinate within the second cell.
    13. dy2 - the y coordinate within the second cell.
    14. col1 - the column (0 based); of the first cell.
    15. row1 - the row (0 based); of the first cell.
    16. col2 - the column (0 based); of the second cell.
    17. row2 - the row (0 based); of the second cell.
    18. col1 图片的左上角放在第几个列cell, 
      row1 图片的左上角放在第几个行cell, 

      col2 图片的右下角放在第几个列cell, 
      row2 图片的右下角放在第几个行cell,
    19. 列宽 
      sheet.setColumnWidth((short)column,(short)width); 
      行高 
      row.setHeight((short)height);
    20. 添加多个图片时:多个pic应该share同一个DrawingPatriarch在同一个sheet里面。
    [@more@]
  • 相关阅读:
    自定义转化
    asp.net JSON(一)
    做一个会偷懒的码农
    活动和监视器
    linq 分组求和
    sql语句查询列的说明
    chartControl
    LayOutControl
    sql 给表结构增加说明
    我的单件模式
  • 原文地址:https://www.cnblogs.com/zhoumeng780/p/4777891.html
Copyright © 2011-2022 走看看