Skip to content

UseOffice .Net is a robust component to convert between DOC, DOCX, RTF, XLS, XLSX, HTML, PPT, CSV, Text and PDF, documents with tables, images, fonts, colors etc. The component is created with C# and helps developers easily create ASP.Net server and Windows Forms C#/VB.Net applications. DOC, DOCX, XLS, XLSX, PPT, PPTX, PDF

Notifications You must be signed in to change notification settings

SautinSoft/SautinSoft.UseOffice.Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget

.NET SDK to convert between Word, Excel, PowerPoint and PDF formats.

useoffice-logo

SautinSoft.useoffice is .NET assembly to convert between Word, Excel, PowerPoint and PDF formats.

DOCX to PDF XLSX to PDF PPTX to PDF

Support for all MS Office formats.

Quick links

Top Features

System Requirement

  • .NET Framework 4.6.2 - 4.8
  • .NET 6, 8, 9
  • Windows only

Getting Started with UseOffice .Net

Are you ready to give UseOffice .NET a try? Simply execute Install-Package sautinsoft.useoffice from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have UseOffice .NET and want to upgrade the version, please execute Update-Package sautinsoft.useoffice to get the latest version.

Convert DOCX to PDF

SautinSoft.UseOffice u = new SautinSoft.UseOffice();
string inpFile = Path.GetFullPath(@"..\..\example.docx");
string outFile = Path.GetFullPath("Result.pdf");
int ret = u.InitWord();
ret = u.ConvertFile(inpFile, outFile, SautinSoft.UseOffice.eDirection.DOCX_to_PDF);
u.CloseWord();

Convert XLSX to PDF

SautinSoft.UseOffice u = new SautinSoft.UseOffice();
string inpFile = Path.GetFullPath(@"..\..\example.xlsx");
string outFile = Path.GetFullPath("Result.pdf");
int ret = u.InitExcel();
ret = u.ConvertFile(inpFile, outFile, SautinSoft.UseOffice.eDirection.XSLX_to_PDF);
u.CloseExcel();

Resources

About

UseOffice .Net is a robust component to convert between DOC, DOCX, RTF, XLS, XLSX, HTML, PPT, CSV, Text and PDF, documents with tables, images, fonts, colors etc. The component is created with C# and helps developers easily create ASP.Net server and Windows Forms C#/VB.Net applications. DOC, DOCX, XLS, XLSX, PPT, PPTX, PDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •