Hello, I have an excel document that I want to manually adjust the height to 13.50 (18 pixels)
I saw no other way to set the default height, so
worksheet.Rows().Height = 13.5;
did that for me. However, once you manually set the height, I realized that when you are putting in long text in a cell even if text wrap is enabled, the outcome height will not adjust.
With calibri font and font size 10, the cells become around size 14 for every line when calling the row.adjusttocontent() method so if anybody can give me tips to either set the default height without ruining the textwrap auto height adjust, I'll be so glad :)
I saw no other way to set the default height, so
worksheet.Rows().Height = 13.5;
did that for me. However, once you manually set the height, I realized that when you are putting in long text in a cell even if text wrap is enabled, the outcome height will not adjust.
With calibri font and font size 10, the cells become around size 14 for every line when calling the row.adjusttocontent() method so if anybody can give me tips to either set the default height without ruining the textwrap auto height adjust, I'll be so glad :)