Documentation / Install guides
Install .NET (source P/Invoke)
The C# and VB.NET bindings as source and prebuilt, plus both engines.
1. Get the package
The download is public and needs no key — unlicensed output carries an
evaluation watermark and nothing else is restricted. The package file is
windows-dotnet.zip.
2. Check your platform
Two separate facts per platform: whether a licence key for this package covers it, and whether the download ships an engine binary for it.
| Platform | Licence covers it | Binary in the download |
|---|---|---|
win-x86 |
Yes | Yes |
win-x64 |
Yes | Yes |
3. Install
text
Add include/Visual_C#/LumasPdf.cs to your project
(or reference lib/netstandard2.0/LumasPDF.Net.dll instead -- not both)
Copy win64/LumasPdf.dll to bin/
4. Licence it
A licence is one key string, set once at startup. Buying one and installing it is covered by how licensing works; until then the engine runs fully functional with an evaluation watermark.
5. Your first PDF
The smallest complete program: create, write, close.
csharp
using LumasPdfSdk;
var pdf = LumasPdf.pdfNewPDF();
LumasPdf.pdfCreateNewPDFW(pdf, "hello.pdf");
LumasPdf.pdfAppend(pdf);
LumasPdf.pdfSetFontW(pdf, "Helvetica", LumasPdfConsts.fsNone, 24, true, TCodepage.cp1252);
LumasPdf.pdfWriteFTextW(pdf, LumasPdfConsts.taCenter, "Hello from LumasPDF");
LumasPdf.pdfEndPage(pdf);
LumasPdf.pdfCloseFile(pdf);
LumasPdf.pdfDeletePDF(pdf);
Where next
- The full quick start Step by step, from unzip to a rendered page.
- Runnable examples Complete programs, each verified against a named release.
- The .NET (source P/Invoke) package page Editions, pricing, and everything in the download.
- API reference Every exported function, with declarations.