PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 2:29 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Jul 05, 2018 3:29 pm 
Offline

Joined: Thu Jul 05, 2018 3:19 pm
Posts: 1
I have upgraded PDFsharp from Version = 1.32.2608.0 to Version = 1.50.3638.0 My code is currently reporting errors on this line:

XGraphics: = XGraphics.FromPdfPage (PdfPage, XGraphicsOptions.Prepend);

Has the syntax changed in 1.50.


Attachments:
ImagEro.jpg
ImagEro.jpg [ 14.42 KiB | Viewed 2829 times ]
Top
 Profile  
Reply with quote  
PostPosted: Thu Jul 05, 2018 4:31 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
Hi!
brl_dk wrote:
Has the syntax changed in 1.50.
Is that a question?

I don't think the syntax has changed. Are you referencing both versions of the library?

Code:
public static XGraphics FromPdfPage(PdfPage page, XGraphicsPdfPageOptions options)


Try "XGraphicsPdfPageOptions.Prepend".

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 139 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