Spire.PDFViewer is a powerful PDF Viewer component for .NET. It allows developers to load PDF document from stream, file and byte array.

Thu May 03, 2018 8:37 am

I am implementing the search as
this.pdfViewer.SearchText("<text to be searched", Color.Red,true);

but the result is "covering" the search area .... I am using an evaluation copy is this the problem?
Please see attachment
Thanks,
M

leolane
 
Posts: 4
Joined: Wed May 02, 2018 3:49 pm

Thu May 03, 2018 9:19 am

Dear leolane,

Thanks for your inquiry.
I have reproduced your issue and logged it in our bug tracking system. We will let you know once there is any update.
Sorry for the inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu May 03, 2018 1:21 pm

Thank you Betsy,

Is there any other color I can use in the meanwhile that will be "more transparent"?
Or any other work around?

Thanks,
M

leolane
 
Posts: 4
Joined: Wed May 02, 2018 3:49 pm

Thu May 03, 2018 8:43 pm

Found the solution (below). The Color class includes the ability to include an Alpha channel value (with red I like 0x60)

Use: this.pdfViewer.SearchText("", Color.FromArgb(0x60,Color.Red),true);

Hope this can help others as well
M

leolane
 
Posts: 4
Joined: Wed May 02, 2018 3:49 pm

Fri May 04, 2018 1:47 am

Dear leolane,

Thanks for sharing the solution.
Please feel free to contact us if there is any question.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.PDFViewer

cron