# Configure Paper Settings

Learn how to configure the page settings through paper scaling and paper size for customized printing in DsExcel.

## Content

In DsExcel .NET, you can use the properties of the [IPageSetup interface](/document-solutions/dot-net-excel-api/api/online/DS.Documents.Excel/GrapeCity.Documents.Excel.IPageSetup.html) in order to configure paper settings for customized printing.
Configuring paper settings involves the following tasks:

1. [Configure Paper Scaling](/document-solutions/dot-net-excel-api/docs/online/Features/print/ConfigurePrintSettingsviaPageSetup/ConfigurePaperSettings#configure-paper-scaling)
2. [Configure Paper Size](/document-solutions/dot-net-excel-api/docs/online/Features/print/ConfigurePrintSettingsviaPageSetup/ConfigurePaperSettings#configure-paper-size)

## Configure Paper Scaling

You can use the [IsPercentScale property](/document-solutions/dot-net-excel-api/api/online/DS.Documents.Excel/GrapeCity.Documents.Excel.IPageSetup.IsPercentScale.html) in order to control how to the spreadsheet is scaled; the [FitToPagesTall property](/document-solutions/dot-net-excel-api/api/online/DS.Documents.Excel/GrapeCity.Documents.Excel.IPageSetup.FitToPagesTall.html) and the [FitToPagesWide property](/document-solutions/dot-net-excel-api/api/online/DS.Documents.Excel/GrapeCity.Documents.Excel.IPageSetup.FitToPagesWide.html) in order to set its size; and the [Zoom property](/document-solutions/dot-net-excel-api/api/online/DS.Documents.Excel/GrapeCity.Documents.Excel.IPageSetup.Zoom.html) in order to adjust the size of the paper that will be used for printing.

```csharp
//Set paper scaling via percent scale 
            
worksheet.PageSetup.IsPercentScale = true;
worksheet.PageSetup.Zoom = 150;
            
//Set paper scaling via FitToPagesWide and FitToPagesTall    
            
worksheet.PageSetup.IsPercentScale = false;
worksheet.PageSetup.FitToPagesWide = 3;
worksheet.PageSetup.FitToPagesTall = 4;
```

## Configure Paper Size

You can use the [PaperSize property](/document-solutions/dot-net-excel-api/api/online/DS.Documents.Excel/GrapeCity.Documents.Excel.IPageSetup.PaperSize.html) in order to set the paper size for the paper that will be used for printing.

```csharp
//Set built-in paper size. The Default is Letter
            
worksheet.PageSetup.PaperSize = PaperSize.A4;
```