Hi.
Hi Alexey,
Thanks for using Aspose.Cells.
We were able to observe this issue using the latest version with your given code. Aspose.Cells should adjust row height automatically or there should be some manual way of adjusting it. We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as CELLSJAVA-40772.
Hi,
Thanks, Amjad Sahi
Hi,
We should apply autoheight selectively, but we have no information related to autoheight mode in row.
Hi Anvar,
Hi Anvar,
Thanks for your posting and using Aspose.Cells.
You can use the Worksheet.autoFitRows(boolean onlyAuto) method and pass it true as a parameter. It should fit your needs
Please see the following description of this method inside the Javadocs.
----------------------
autoFitRows |
|
public void autoFitRows(boolean onlyAuto) throws java.lang.Exception |
-
Autofits all rows in this worksheet. - Parameters:
-
onlyAuto
- True,only autofits the row height when row height is not customed.
Hi,
Hi,
autoFitRow |
|
public void autoFitRow(int rowIndex, int firstColumn, int lastColumn, AutoFitterOptions options) |
-
Autofits the row height. This method autofits a row based on content in a range of cells within the row.- Parameters:
-
rowIndex
- Row index. -
firstColumn
- First column index. -
lastColumn
- Last column index. -
options
- The auto fitter options - Hope, this helps a bit.
- Thank you.