Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Styles

$
0
0
Something wrong is happening

I create a range and procedure to set styles for it.
Something like this xlsRange.Style=SetStyle(xlsRange.Style, ws["Style"].ToString());
No styles were set. In debug window, I see following:
....
lStyle.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
but in local variables window still
lStyle
  Alignment
   ....
     Horzontal       General
What I'm doing wrong&

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>