| title | How to ignore print areas set in a worksheet | XlsIO | Syncfusion |
|---|---|
| description | This page shows how to ignore print areas set in a worksheet using Syncfusion .NET Excel library (XlsIO). |
| platform | document-processing |
| control | XlsIO |
| documentation | UG |
You can set the print area to null or empty to ignore the print areas in a worksheet as below. Setting the PrintArea property will impact the process of exporting to PDF. If the print area is set, the export to PDF includes only the print area.
{% tabs %} {% highlight c# tabtitle="C# [Cross-platform]" %} worksheet.PageSetup.PrintArea = string.Empty; {% endhighlight %}
{% highlight c# tabtitle="C# [Windows-specific]" %} worksheet.PageSetup.PrintArea = string.Empty; {% endhighlight %}
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %} worksheet.PageSetup.PrintArea = string.Empty {% endhighlight %} {% endtabs %}