Questions tagged [tppdf]

Questions tagged with `TPPDF` are regarding the Open Source Swift PDF rendering framework `TPPDF`.

tppdf
Filter by
Sorted by
Tagged with
0 votes
1 answer
439 views

TPPDF : Add Multiple images with text content in the same cell in the Table()

I am working on a PDF Builder app and came through this tutorial. Is there any way around to add some text in a cell with multiple images. I tried different ways but it results into error in the PDF. ...
2 votes
3 answers
1k views

How can I lossless reduce PDF file size?

I generate a PDF with 288Kb size images, around 25- 30 images in that PDF and size of PDF 24MB. How can I reduce that without loss quality of images?
4 votes
1 answer
416 views

when export to pdf i got extra one empty page

I am saving images into pdf document let suppose I have 3 images and add them to the document it should show 3 pages. but what's happing is this I am getting 4 pages with the first page empty.I am ...
0 votes
1 answer
139 views

Footer in every page in TPPDF ios

I am able to add the footer in a pdf, using TPPDF library in iOS. But I am not able to keep the footer on every page of the PDF. Any solution for the same? Here is how I have used the footer: **let ...
0 votes
1 answer
136 views

Is there any way to break up a PDFTable onto a different page?

First time poster here...but been using StackOverflow for solutions whenever I get stuck.. ton of great information here! I will try to describe the question as thoroughly as I can and hope someone ...
0 votes
1 answer
261 views

TPPDF Table Data Version 2.3

I have been using TPPDF to generate pdfs utilising tables. With the old version I was able to populate, set alignment and styles as per the code below. The _bodyData [Array] is comprised of [String, ...
1 vote
0 answers
78 views

How to Add Watermarks to Images in TPPDF Document?

What's the best way to add watermarks to images in a TPPDF document? Is this approach (#19) still the best way? If so, would you mind please elaborating on how you'd do this? I've found if I add ...
-1 votes
1 answer
77 views

In TPPDF I would like to add drawing graphics to a document page using PDFKit

Would like to be able to add drawing graphics using PDFKit as a watermark for each page of my report. Is there a supported way of doing that or any equivilent method in TPPDF
1 vote
1 answer
84 views

Set Overall Table Size

How can I set the size of a table using TPPDF? By default, the table width seems to cover the whole page, and I'm not sure how to change that. I need my table cells to be square, but can only control ...
0 votes
1 answer
851 views

Auto page break while creating PDF in iOS (Swift)

I have to create a PDF which contains data like a quotation document (text, tables, images, etc.). The data varies from 1 page to 3-4 pages. A table cell may have combination of text and images. Also, ...