Set custom sheets and cells which will be exported into PDF or Word

Namespace:  SautinSoft
Assembly:  SautinSoft.ExcelToPdf (in SautinSoft.ExcelToPdf.dll) Version: 4.2.7.24

Syntax

      
 C#  Visual Basic 

Remarks

Examples

CopyC#
SautinSoft.ExcelToPdf x = new SautinSoft.ExcelToPdf();
x.OutputFormat = SautinSoft.ExcelToPdf.eOutputFormat.Pdf;
int[] arJ = { 1 };
x.Sheets.PrintArea.Custom(arJ, "B20", "D25");
CopyVB.NET
Dim x As New SautinSoft.ExcelToPdf()
x.OutputFormat = SautinSoft.ExcelToPdf.eOutputFormat.Pdf;
Dim arJ() As Integer = { 1 }
x.Sheets.PrintArea.Custom(arJ, "B20", "D25")

See Also