Skip to main content linkedinfacebooktwittermenuarrow-up

Support for multiple print areas Completed

Request for adding support for multiple print areas.   GemBox.Spreadsheet offers an API for setting a print area on each worksheet, with a SetPrintArea method:

On the following link there is an example that demonstrates how to set worksheet's print area:

Currently, this method supports setting only a single cell range as a print area.

Official response

Mario at GemBox


GemBox.Spreadsheet introduced support for this, it is accomplished by using "SetPrintArea(IEnumerable<CellRange> ranges)" overload method: