![]() ![]() The number of the last page is obtained from the property TgtPDFDocument.PageCount(). Next, a HTML-formatted string is written on the last page. In the next code snippet, we first specify the measurement unit that will be used when rendering elements on a PDF page. LoadFromFile('sample_doc.pdf') Īfter a PDF document has been loaded, document contents and their properties can be read and modified using the properties and methods of TgtPDFDocument object. GtPDFDocument1 := TgtPDFDocument.Create(Nil) Create a TgtPDFDocument object, load a document, and we are ready to roll. Reading a PDF document is straightforward, as shown in the code snippet below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |