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

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -