PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Questions about form field processing

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
SMB



Joined: 06 Nov 2008
Posts: 1

PostPosted: Thu Nov 06, 2008 1:14 pm    Post subject: Questions about form field processing Reply with quote

Hi,

I am new to PdfSharp and have two questions concerning form field processing:

1)
I create a text form field usind Adobe Acrobat. I set font size 16 and color blue on the field. Then I fill the field using PdfSharp and save it to another file like this

Code:

Dim pdfdokument As PdfDocument = PdfReader.Open("C:\ge1.pdf", PdfDocumentOpenMode.Modify)
    Dim pdfAcroForm As PdfAcroForm = pdfdokument.AcroForm
    Dim fields As PdfAcroField.PdfAcroFieldCollection = pdfAcroForm.Fields
    Dim field As PdfTextField = fields("NameVornameVN")

    field.Text = "Hello World"
    pdfdokument.Save("C:\ge_filled_pdfsharp.pdf")


Problem is, the text shows up in the document, but the beforementioned formatting (font size, color) is not used, different font size and color is displayed.

Only when I click the field, the text changes to the correct formatting. Ths is something i don't understand. When the text is deselected, it changes back to the wrong formatting.



2)
When merging documents, fom fields are lost. Is there a plan to fix this?
Back to top
View user's profile Send private message
dgxs



Joined: 30 Dec 2008
Posts: 1

PostPosted: Tue Dec 30, 2008 10:54 pm    Post subject: Same issue Reply with quote

I have the same issue as number 1. It is extremely strange.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com