You can easily use «Document .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.Document:
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.Document")
Second (old good way): Adding a reference to the "SautinSoft.Document.dll" file:
First of all, download the Document .Net package. Unzip it at any place in your computer and find the assembly file "SautinSoft.Document.dll".
(Solution Explorer->right click by "References"->Add Reference...->Browse "SautinSoft.Document.dll")
Well done! Now you have API to create, modify, parse, convert, replace, merge documents in PDF, DOCX, RTF, HTML and Text formats!
If you have added the SautinSoft.Document.dll into your project using Nuget, all dependencies are already installed automatically and therefore simply skip this step. If you are creating a .Net Framework (not .Net Core) app, also skip this step.
In case of you have added the reference to the SautinSoft.Document.dll by the old way (Solution Explorer->right click by "References"->Add Reference...), please add these dependencies using Nuget:
System.IO.Packaging: "4.4.0" or up,
System.Text.Encoding.CodePages: "4.0.1" or up,
System.Xml.XPath.XmlDocument: "4.3.0" or up,
System.Drawing.Common": "4.6.0 or up.
NOTE: Actually, you may add specified versions of the dependencies shown above or use the newer versions.
For example, to add "System.IO.Packaging, 4.4.0:
(Solution Explorer->right click by "References"->Manage Nuget Packages...->In the tab "Browse" type "System.IO.Packaging" and find the "System.IO.Packaging", select version "4.4.0")
Here you will find the Collection with Code Examples in C# and VB.Net.