org.apache.poi.hssf.usermodel.HSSFPicture.getColumnWidthInPixels()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(82)

本文整理了Java中org.apache.poi.hssf.usermodel.HSSFPicture.getColumnWidthInPixels()方法的一些代码示例,展示了HSSFPicture.getColumnWidthInPixels()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HSSFPicture.getColumnWidthInPixels()方法的具体详情如下:
包路径:org.apache.poi.hssf.usermodel.HSSFPicture
类名称:HSSFPicture
方法名:getColumnWidthInPixels

HSSFPicture.getColumnWidthInPixels介绍

暂无

代码示例

代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev

w += getColumnWidthInPixels(anchor.col1)*(1 - (float)anchor.dx1/1024);
short col2 = (short)(anchor.col1 + 1);
int dx2 = 0;
  w += getColumnWidthInPixels(col2++);
  double cw = getColumnWidthInPixels(col2);
  double delta = w - scaledWidth;
  dx2 = (int)((cw-delta)/cw*1024);

代码示例来源:origin: com.haulmont.thirdparty/poi

w += getColumnWidthInPixels(anchor.getCol1())*(1 - (float)anchor.getDx1()/1024);
short col2 = (short)(anchor.getCol1() + 1);
int dx2 = 0;
  w += getColumnWidthInPixels(col2++);
  double cw = getColumnWidthInPixels(col2);
  double delta = w - scaledWidth;
  dx2 = (int)((cw-delta)/cw*1024);

相关文章