PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Jul 02, 2024 9:17 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Mar 05, 2010 7:16 am 
Offline

Joined: Fri Mar 05, 2010 6:01 am
Posts: 2
Hello....

in my silverlight application i am adding image to pdf using following code .


XForm form = new XForm(document, XUnit.FromMillimeter(5000), XUnit.FromMillimeter(7000));
XGraphics formGfx = XGraphics.FromForm(form);

XGraphicsState state = formGfx.Save();
formGfx.DrawImage(img, 20, 20);

my problem is that imported image is big so i want to add it in 2-3 pages. so how can i split that image?
or
currently i am able to add image in a single pdf page. so give me solution to split that single page into 2-3 pages?

please help...

thanks in advance.


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 08, 2010 9:07 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Hi!

You can draw the same image or the same XForms object on several pages, but at different positions so that different areas will be visible on each page.

Only one copy of the image will be included in the PDF file.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 06, 2011 2:22 pm 
Offline

Joined: Wed Apr 06, 2011 1:53 pm
Posts: 1
I have a very big image and i want to add the image in multiple pages.
Can someone please suggest how to split the image ?

Thanks


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 15 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