PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

PdfSharp: Overlay PDF's
http://forum.pdfsharp.com/viewtopic.php?f=2&t=4534
Page 1 of 1

Author:  AndreasGey76 [ Tue Jan 16, 2024 1:11 pm ]
Post subject:  PdfSharp: Overlay PDF's

Hi,

i'am using PDFSharp.
Is it possible to overlay two PDF's oder two PDF Pages?
But not as an image, but as a PDF so that you can copy data out.

Thank you.

Author:  TH-Soft [ Tue Jan 16, 2024 4:26 pm ]
Post subject:  Re: PdfSharp: Overlay PDF's

It is possible to overlay two PDF pages.

Opaque parts of the top PDF page will hide the bottom PDF page.

Author:  AndreasGey76 [ Tue Jan 16, 2024 6:17 pm ]
Post subject:  Re: PdfSharp: Overlay PDF's

Hi
TH-Soft wrote:
It is possible to overlay two PDF pages.

Opaque parts of the top PDF page will hide the bottom PDF page.


But how can I say, that a page overlays an other page? I find only that I can add pages.

Author:  TH-Soft [ Tue Jan 16, 2024 9:37 pm ]
Post subject:  Re: PdfSharp: Overlay PDF's

AndreasGey76 wrote:
But how can I say, that a page overlays an other page?
Use DrawImage to draw the new page where you want it and in the size you want it.
See the "Two pages on one" sample for code.
https://pdfsharp.net/wiki/TwoPagesOnOne-sample.ashx

Author:  AndreasGey76 [ Wed Jan 17, 2024 11:21 am ]
Post subject:  Re: PdfSharp: Overlay PDF's

TH-Soft wrote:
AndreasGey76 wrote:
But how can I say, that a page overlays an other page?
Use DrawImage to draw the new page where you want it and in the size you want it.
See the "Two pages on one" sample for code.
https://pdfsharp.net/wiki/TwoPagesOnOne-sample.ashx


Thank you , it works!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/