Smit Patel
Smit Patel

Reputation: 3247

Difference between center and centercontinuous alignment in ClosedXML?

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

Answers (1)

pestell
pestell

Reputation: 46

CenterContinuous will center text along cells with same style.

Upvotes: 3

Related Questions