c# - Centering Across Selection Using EPPlus -
if select adjacent cells in excel , click 'format cells', within alignment tab can set text alignment 'center across selection'.
is there way apply programatically using epplus? searched on official documentation , couldn't find anything. if there no way apply through epplus, best alternative?
the use case need traverse through cells in 1 particular row in excel , turn duplicate entries 1 entry centered across cells. logic had in mind delete content in bar first cell , center across selection of cells.
epplus supports using centercontinuous
this:
ws.cells[1, 1].style.horizontalalignment = excelhorizontalalignment.centercontinuous;
Comments
Post a Comment