Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Concat two PDFs with header title in 1st page of 2nd PDF by considering the text

More
IP: 192.168.0.71 8 years 7 months ago #13396 by srinivas_g
Hi, I am using Radaee licensed version to render the PDF for my android app and I have a requirement to merge/concat two PDFs. And the second PDF before concatenating, my app need to draw dynamic header title. So, I am able to add it while concatinating but for some PDFs the header title get overrided with the actual PDF content. This was because I hardcoded the y-position of my header title. How can I get the y-position of the PDF content to calculate the y-position for my header title? OR can I get the complete page as transform to draw again after my header title drawn like the method did in iOS using CGPDFPageGetDrawingTransform?
More
IP: 192.168.0.71 8 years 7 months ago #13408 by support
We're evaluating the best approach you shall apply.

Actually you shall:
- put rasterized page as image in an empty page containing your header
- scan the to-be-merged page across chars' indexes and find higher and lower Y value, after that decide where to put your header or footer

Best way shall be:
- alter the PDF dictionary and modify page dimension and offset.
It would need the use of Advanced API to get/set values from dictionary.
We're evaluating how to provide the "set" feature right now.
More
IP: 192.168.0.71 8 years 7 months ago #13412 by emanuele
Hi,

here you can find the Knowledge Base Article that shows how to use Advanced APIs to change the page dimension:
Android: www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=124
iOS: www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=125
More
Time to create page: 0.450 seconds
Powered by Kunena Forum