PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] Delete Page from PDF File/IMG Control
[WD20] Delete Page from PDF File/IMG Control
Iniciado por guest, 08,may. 2017 18:06 - 1 respuesta
Publicado el 08,mayo 2017 - 18:06
I have a PDF that's saved to a file, but also loaded into an image control. I also have a looper which displays a thumbnail for each page. If a user deletes a thumbnail from the looper I want to delete the page and re-save the file. What's the easiest way to do this? Should I manipulate the image control or use an image variable?

I'm probably over thinking this, I bet the solution is fairly simple. There's got to be a way to just delete pages from the image control.
Publicado el 08,mayo 2017 - 19:51
Hi Curtis,

AFAIK, there is no direct way to delete a page from an image control or variable

The only solution I see is to print all the other pages as pdf to recreate a different file and replace the original one with this one.

Best regards