c# - Unwrap text is ignored in excel -
i have asp.net mvc project, in have created excel document model data , trying work appearance. have problem - in few cases xlworksheet.cells[y, x].wraptext = false;
ignored...
my code project description field:
...//other fields if (model.columnsneeded.projectdescriptionbool) { xlworksheet.cells[y, x].style.wraptext = false; xlworksheet.cells[y, x++] = projitem.projectdescription; } ...//other fields
and excel result get, when click on wrapped text field cas see property wrap text set on:
as foreach line had set :xlworksheet.cells[y, x].entirerow.wraptext = false;
Comments
Post a Comment