Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Quick And Easy Way To Create And Manage PDF Documents Programmatically

The Portable Document Format (commonly known as “PDF”) is a file format developed in the early 1990s as a way to share documents created by computers, including text formatting and inline images. PDF was designed to allow viewing documents independent of the application software, operating system and hardware used to create them.

PDF files encapsulate a complete description of a fixed-layout document, including the text, fonts, graphics, and other information needed to display it. PDF files may also include a wide variety of other content, from hyperlinks to metadata to logical structure to JavaScript and attached files, that allow the format to meet a wide variety of functional and workflow needs for electronic documents.

If you need to handle creation and manipulation of PDF documents on your existing or new application, Winsoft .sk PDF Library is the easiest way to do it. Key features are:

Installation

There is no need of installing this component. All features are available via runtime. You just need to download lib from https://winsoft.sk/pdflibrary.htm and copy to your preferred Delphi components folder.

This is a non-visual library, so you don’t need to install it on IDE.

Add folder according your Delphi version and Platform in Tools->Options->Language->Delphi->Library to Library Path

Samples

For all examples bellow, you need to add ShellApi, PdfSharp unit to your uses clauses and declare a generic OpenPDF procedure as follow:

[crayon-66357bdbbefd6820007922/]
Creating a Basic PDF File
[crayon-66357bdbbefde057387791/]
Create PDF with some drawings and Bitmap file attached
[crayon-66357bdbbefe1646349877/]
Protecting PDF files
[crayon-66357bdbbefe2681760451/]

Head over and find out more about the WINSOFT PDF library for Delphi and then download it.

Exit mobile version