PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

split image and add to multiple pages.
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1084
Page 1 of 1

Author:  rab123 [ Fri Mar 05, 2010 7:16 am ]
Post subject:  split image and add to multiple pages.

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.

Author:  Thomas Hoevel [ Mon Mar 08, 2010 9:07 am ]
Post subject:  Re: split image and add to multiple pages.

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.

Author:  Jhansi [ Wed Apr 06, 2011 2:22 pm ]
Post subject:  Re: split image and add to multiple pages.

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

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