UseOfficeCExcelOptionsAllSheets Method |
Convert all sheets from workbook
Namespace: SautinSoftAssembly: UseOffice (in UseOffice.dll) Version: 2024.12.12
Syntax Example SautinSoft.UseOffice u = new UseOffice();
if (u.InitExcel() == 0)
{
u.Sheets.All();
u.ConvertFile(@"D:\Workbook.xlsx", @"d:\Result.pdf", UseOffice.eDirection.XLSX_to_PDF);
u.CloseExcel();
}
Dim u As SautinSoft.UseOffice = New UseOffice()
If u.InitExcel() = 0 Then
u.Sheets.All()
u.ConvertFile("D:\Workbook.xlsx", "d:\Result.pdf", UseOffice.eDirection.XLSX_to_PDF)
u.CloseExcel()
End If
See Also