PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 10:49 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
PostPosted: Thu Apr 30, 2015 11:21 pm 
Offline

Joined: Thu Apr 30, 2015 11:13 pm
Posts: 1
Hi! I've been making great strides over the last two weeks in getting our system converted to PDFSharp. I ran into one tiny problem that makes a big problem for me. We have thousands of PDF forms that may be accessed at one time or another. In most cases, the fore color/fill color of these fields is blank. However, the most important field on each one, the date field, has white fill color. Is there any way to change this with acroforms?

This is how I enter data into the chosen field:
Dim strPDFText As New PdfString(value)
doc.AcroForm.Fields.Item(dictField.Key).Value = strPDFText

I really don't want to go through each pdf we have and change the properties of each field. I know that we can set the forecolor using PDFTextField, but I don't know if I can do it the way I'm accessing fields.

If this doesn't make sense, please let me know and I'll try to explain more. Thanks!


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: Baidu [Spider], Bing [Bot] and 166 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