Insert/Replace PDF page(s) based on Text on existing page
Insert/Replace PDF page(s) based on Text on existing page
Hi
Is it possible to Insert/Replace PDF page(s) based on Text on existing page.
And the Existing page with the text is the one that must be deleted/replaced.
Thanks..
Kenneth
Is it possible to Insert/Replace PDF page(s) based on Text on existing page.
And the Existing page with the text is the one that must be deleted/replaced.
Thanks..
Kenneth
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: Insert/Replace PDF page(s) based on Text on existing pag
Hi,
Yes and its simple.
1. Select the page
2. Use GetPageText
3.Use the .NET String.Contains, if it is found: use DeletePage.
I hope this helps.
Best,
Sami
Yes and its simple.
1. Select the page
2. Use GetPageText
3.Use the .NET String.Contains, if it is found: use DeletePage.
I hope this helps.
Best,
Sami
Re: Insert/Replace PDF page(s) based on Text on existing pag
Thanks...
But, it is than possible to Insert/merge a new pdf document into the place where I just have deleted a page..
Like :
- I delete page 11
- then I insert a new pdf document ( 3 pages ), that becomes page 11-13....
But, it is than possible to Insert/merge a new pdf document into the place where I just have deleted a page..
Like :
- I delete page 11
- then I insert a new pdf document ( 3 pages ), that becomes page 11-13....
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: Insert/Replace PDF page(s) based on Text on existing pag
Hi,
Yes, you just have to add a new page in the destination pdf for each page in the source pdf, and select each page in the source pdf and draw it on the destination.
You need to use:
InsertPage: https://www.gdpicture.com/guides/gdpicture/v10/html/co ... teger.html
DrawPage: https://www.gdpicture.com/guides/gdpicture/v10/html/co ... ingle.html
Best,
Sami
Yes, you just have to add a new page in the destination pdf for each page in the source pdf, and select each page in the source pdf and draw it on the destination.
You need to use:
InsertPage: https://www.gdpicture.com/guides/gdpicture/v10/html/co ... teger.html
DrawPage: https://www.gdpicture.com/guides/gdpicture/v10/html/co ... ingle.html
Best,
Sami
Re: Insert/Replace PDF page(s) based on Text on existing pag
Thanks Again.
I will try it soon.
I will try it soon.
Who is online
Users browsing this forum: No registered users and 1 guest