Reputation: 3247
I am working on ClosedXML for Export an Excel, and just find a property for alignment Center and CenterContinuous.
worksheet.Column(9).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
And
worksheet.Column(9).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.CenterContinuous;
I have tried both, but the results remain same, anybody know what the exact difference?
Upvotes: 3
Views: 1847