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

PDF Version 1.3
http://forum.pdfsharp.de/viewtopic.php?f=2&t=272
Page 1 of 1

Author:  wlapenta [ Mon Dec 03, 2007 8:54 pm ]
Post subject:  PDF Version 1.3

Hello, i want insert a pdf into another pdf version 1.3; in pdf version 1.4 it's ok, but with the same program with old version not do correctly the same operation; when i open the new pdf the image not compare and iriceve a messagge "token q not recognize".

I report my code.

Thank you very much.

nome_file_tmp = val_nome_file_tmp + ".pdf";
PdfPage page = document.Pages[idx];
XGraphics gfx = XGraphics.FromPdfPage(page);
XImage image1 = XImage.FromFile(nome_file_tmp);
gfx.DrawImage(image1, 0, 0);
File.Delete(nome_file_tmp);
image1.Dispose();
gfx.Dispose();
page.Close();

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