Monday, October 21, 2019
Free PDF Library for Delphi Developers
Free PDF Library for Delphi Developers Are you developing a Delphi application with a task to do PDF document manipulations? Portable Document Format, PDF, is a file format created by Adobe for document exchange. While there are many (commercial) Delphi libraries designed to help you create PDF and/or manipulate PDF documents, if you only need to load an existing PDF document, get the information from it (number of pages, security, is it linearized) and even write some information to it (set page size, add text, add graphics), you might want to take a look at the Quick PDF Library Lite version. Quick PDF Library Lite offers a subset of the functionality found in Quick PDF Library - a royalty-free PDF developer SDK. Whats more: Quick PDF Library Lite is available as an ActiveX component and works with C, C, C#, Delphi, PHP, Visual Basic, VB.NET, ASP, PowerBASIC, Pascal or any other language that supports ActiveX. Heres a short list of the supported functions in Quick PDF Library Lite (names would give you the clue of the actual usage): AddImageFromFile, AddLinkToWeb, AddStandardFont, DocumentCount, DrawImage, DrawText, FindImages, GetInformation, HasFontResources, ImageCount, ImageHeight, ImageWidth, Linearized, LoadFromFile, NewDocument, NewPage, PageCount, PageHeight, PageRotation, PageWidth, RemoveDocument, SaveToFile, SecurityInfo, SelectDocument, SelectedDocument, SelectFont, SelectImage, SelectPage, SetInformation, SetOrigin, SetPageSize, SetPageDimensions, SetTextAlign, SetTextColor, SetTextSize. Note: the Lite version of Quick PDF Library comes as an ActiveX component. You need to register the ActiveX library with Windows, using the following command:regsvr32 \QuickPDFLite0719.dll Next, heres a simple usage example: uses ComObj;procedure TForm1.Button1Click(Sender: TObject);var QP: Variant;begin QP : CreateOleObject(QuickPDFLite0719.PDFLibrary); QP.DrawText(100, 500, Hello World!); QP.SaveToFile(c:\test.pdf); QP : Unassigned;end;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.