/** * Sets the height of the specified row, as well as its collapse status * * @param row the row to be formatted * @param height the row height in 1/20ths of a point * @exception RowsExceededException * @deprecated use the override which takes a CellView object */ public void setRowView(int row, int height) throws RowsExceededException { CellView cv = new CellView(); cv.setSize(height); cv.setHidden(false); setRowView(row, cv); }setRowView(row, 200) 在excel中的实际高度为10像素
还有不知道楼主为什么会问这个问题。有什么实际意义吗?
设成20为402,设成100为1999,设成200为4002,
不知道怎么个转换关系
* Sets the height of the specified row, as well as its collapse status
*
* @param row the row to be formatted
* @param height the row height in 1/20ths of a point
* @exception RowsExceededException
* @deprecated use the override which takes a CellView object
*/
public void setRowView(int row, int height) throws RowsExceededException
{
CellView cv = new CellView();
cv.setSize(height);
cv.setHidden(false);
setRowView(row, cv);
}setRowView(row, 200) 在excel中的实际高度为10像素