PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Nov 01, 2024 12:38 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: PDF Version 1.3
PostPosted: Mon Dec 03, 2007 8:54 pm 
Offline

Joined: Tue Mar 20, 2007 9:46 am
Posts: 6
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();


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group