ZoomExcelPageScaling.ZoomPercentage Property
Returns or sets a percentage (between 10 and 400 percent) will scale the worksheet for printing. Applies only to worksheets.
public int ZoomPercentage { get; set; }
Public Property ZoomPercentage As Int32
Property Value
Licensing Info
This property is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
 - An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
 - A DynamicPDF Converter for .NET v3.X Developer license.
 
Examples
This example shows how to provide Zoom for the worksheets.Module Module1
    Sub Main()
        Dim xlOptions As New ExcelConversionOptions(ExcelPageSize.Folio, 18.0, 24.0)
        xlOptions.PageScaling = New ExcelPageScaling()
        xlOptions.PageScaling.ZoomExcelPageScaling = New ZoomExcelPageScaling(75)
        Dim xlConverter As New ExcelConverter("C:\\Document.xls")
        xlConverter.ConversionOptions = xlOptions
        xlConverter.Convert("outputPDF.pdf")
    End Sub
End Module
public class Program
{
    static void Main()
    {
        ExcelConversionOptions xlOptions = new ExcelConversionOptions(false);
        ExcelConversion xlConverter = new ExcelConverter("C:\\Document.xls");
        xlOptions.PageScaling = new ExcelPageScaling()
        xlOptions.PageScaling.ZoomExcelPageScaling = new ZoomExcelPageScaling(75)
        xlConverter.ConversionOptions = xlOptions;
        xlConverter.Convert("outputPdf.pdf");
    }
}