Convert custom sheets from workbook

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

Syntax

      
 C#  Visual Basic 
public void Custom(
	int[] sheets
)
Public Sub Custom ( _
	sheets As Integer() _
)

Parameters

sheets
array< Int32 >[]()[]
Array of sheets

Remarks

Examples

CopySpecify custom sheets of workbook for converting
SautinSoft.ExcelToPdf x = new SautinSoft.ExcelToPdf();
x.Sheets.Custom(new int[] { 1, 3 });
x.ConvertFile(@"d:\Workbook.xls", @"d:\Hardcopy.pdf");
CopySpecify custom sheets of workbook for converting
Dim x As New SautinSoft.ExcelToPdf()
x.Sheets.Custom(New Integer() { 1, 3 })
x.ConvertFile("d:\Workbook.xls", "d:\Hardcopy.pdf")

See Also