Documentation / Install guides

Install Delphi / Object Pascal

Two bindings: the flat DLL unit and an object wrapper.

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 pascal.zip.

Download pascal

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

pascal
// unit search path: dcu64\ (Win64) or dcu32\ (Win32) -- or include\ for the sources
// ship win64\LumasPdf.dll (or win32\) beside the executable

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.

pascal
uses
  LumasPdf, LumasPdfOO;

var
  Pdf: TPDF;
begin
  Pdf := TPDF.Create;
  try
    Pdf.CreateNewPDFW('hello.pdf');
    Pdf.Append;
    Pdf.SetFontW('Helvetica', fsNone, 24.0, True, cp1252);
    Pdf.WriteFTextW(taCenter, 'Hello from LumasPDF');
    Pdf.EndPage;
    Pdf.CloseFile;
  finally
    Pdf.Free;
  end;
end.

Where next