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

Merge two PDF into one new single page PDF

More
10 years 10 months ago - 10 years 10 months ago #9826 by emilof
I've now tested concat_pdf using my own PDFs and it works.

It doesn't work if I try to import pages into a new PDF.

When replacing
Code:
doc_dst.Open(dst, null);
with
Code:
doc_dst.Create(dst);
it stops working.

What I want to do is:
1. Create new PDF with a page twice as wide as source PDF #1.
2. Import first page from source PDF #1 at location 0,0 (left side).
3. Import first page from source PDF #2 at location pdf1Width,0 (right side).
4. Save new PDF.
Last edit: 10 years 10 months ago by emilof.
More
10 years 10 months ago #9828 by Davide
Hi,
have you tried to open the new document after creating it?
Code:
doc_dst.Create(dst); doc_dst.Open(dst, null);
More
10 years 10 months ago #9829 by emilof
Great! That was the missing piece!

How do I import the content from page 1 in src PDF to a specific coordinate on page 1 in dst PDF?
More
10 years 10 months ago #9835 by Davide
Hi,
sorry but at the moment there are no direct API to achieve this.
Time to create page: 0.358 seconds
Powered by Kunena Forum