Getting Started |
You can easily use «UseOffice .Net» in any .NET Framework or .NET Core application. Because of the component is completely written in C# managed code.
Launch Microsoft's Visual Studio.
Create a new project or open an existing.
Add a reference to sautinsoft.useoffice:
You may do this by two ways:
Using Nuget (fast way):
(Solution Explorer->right click by "References"->Manage Nuget Packages...->In the tab "Browse" type "sautinsoft" and find the "sautinsoft.useoffice")
Second (old good way): Adding a reference to the "UseOffice.dll" file:
First of all, download the UseOffice .Net package. Unzip it at any place in your computer and find the assembly file "UseOffice.dll".
(Solution Explorer->right click by "References"->Add Reference...->Browse "UseOffice.dll")
![]() |
---|
UseOffice.dll compiled for .NET Core are located inside (useoffice_net.zip->UseOffice .Net (X.X.X.X)\Bin\.NET Core X.X) folder. UseOffice.dll compiled for .NET Framework are located inside (useoffice_net.zip->UseOffice .Net (X.X.X.X)\Bin\.NET Framework X.X) folder. UseOffice.dll compiled for .NET 5 and up are located inside (useoffice_net.zip->UseOffice .Net (X.X.X.X)\Bin\.NET X.X) folder. |
Well done!
Now your application is able to convert documents between DOCX, RTF, PPTX, XLSX, PDF and other popular formats!
Here you will find the Code Samples in C# and VB.NET.