logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
paleise  
#1 Posted : Wednesday, April 15, 2020 1:13:09 AM(UTC)
paleise

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2017(UTC)
Posts: 52
Germany
Location: Freiburg

Thanks: 3 times
Hi,
is it possible to show background Color of fields like Acrobat do it in the pdfviewer control?. The fields haven't got a background color but in Acrobat the fields are shown with a background color like selected. Please have a look to the attachments. Setting a background color is not a solution because showing when printing.

Thanks for your time! PatagamesPdf.JPG (15kb) downloaded 0 time(s). AcrobatPdf.JPG (16kb) downloaded 0 time(s).

Regards Peter
Paul Rayman  
#2 Posted : Sunday, April 19, 2020 4:20:24 AM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
Hi,

PdfViewer.FormHighlightColor
paleise  
#3 Posted : Sunday, April 19, 2020 10:32:56 PM(UTC)
paleise

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2017(UTC)
Posts: 52
Germany
Location: Freiburg

Thanks: 3 times
Hi, yes I saw the propertie but it doesn' work, only the values of the selected field is showing, the other are covered with the FormHighlightColor. Please have a look to the pictures.

Regards Peter PdfFormHighlightPata.JPG (27kb) downloaded 1 time(s). PdfFormHighlightAcrobat.JPG (26kb) downloaded 0 time(s).
Paul Rayman  
#4 Posted : Sunday, April 19, 2020 10:48:19 PM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
You should use semi-transparent colors with this property.
Code:
pdfViewer1.FormHighlightColor = Color.FromArgb(70, Color.SteelBlue.R, Color.SteelBlue.G, Color.SteelBlue.B);

Edited by user Sunday, April 19, 2020 10:50:18 PM(UTC)  | Reason: Not specified

thanks 1 user thanked Paul Rayman for this useful post.
paleise on 4/19/2020(UTC)
paleise  
#5 Posted : Sunday, April 19, 2020 11:04:06 PM(UTC)
paleise

Rank: Advanced Member

Groups: Registered
Joined: 10/13/2017(UTC)
Posts: 52
Germany
Location: Freiburg

Thanks: 3 times
Thanks Paul, thats it!

Regards Peter
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.