Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

Real row height #4

Closed
ValentinM92 opened this issue Sep 21, 2017 · 2 comments
Closed

Real row height #4

ValentinM92 opened this issue Sep 21, 2017 · 2 comments

Comments

@ValentinM92
Copy link

Hello,

I create my Excel file dynamicaly using Epplus (C#). When I want to get height of a row(feuille.Row(i).Height), I have a wrong result : I got 14.40 (default value), and not the good value (28.80 in my case).

I think that Excel formated visually rows and columns only when the file is opening.

I tried to use CustomHeight = true before get the row height, but it doesn't work.

I published this issue in StackOverFlow (https://stackoverflow.com/questions/46340871/epplus-c-sharp-real-row-height) because is it very urgent, and the new issue link in CodePlex is disabled.

I hope anybody can help me.

Thank you.

@JanKallman
Copy link
Owner

The value in the package (ooxml) and inside of Excel are different. The value is Excel is dependent of your culture. EPPlus returns the ooxml value written to the package.

@ValentinM92
Copy link
Author

Hello,

Thank you for your answer.
But I did the good way or not ? How I can resolve my issue ?

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants