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@]
  • 相关阅读:
    typescript
    heightChatrs
    数组的扩展
    es6函数扩展
    es6变量解构与函数解构
    C++ 编程技巧锦集(二)
    C++ 全排列
    C++ 编程技巧锦集(一)
    [Microsoft][ODBC Driver 11 for SQL Server][SQL Server]列名 'user1' 无效
    2016年天梯赛初赛题集
  • 原文地址:https://www.cnblogs.com/zhoumeng780/p/4777891.html
Copyright © 2011-2022 走看看