Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Jun 24, 2015 11:13 pm

Are there any plans to have the ability to select the highlight color? It would be nice to have a small pastel color palette to select from when trying to highlight different words/phrases.

ex: find.ApplyHighLight(HighlightColor.Yellow); or find.ApplyHighLight(HighlightColor.Blue); or find.ApplyHighLight(HighlightColor.Green); and so forth...

Thanks... -Paul

paulczy
 
Posts: 1
Joined: Wed Apr 30, 2014 6:57 pm

Thu Jun 25, 2015 2:30 am

Hello,

Thanks for your inquiry.
We have added this feature to our schedule. Once there are any progress, we will let you know ASAP.

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Tue Aug 18, 2015 8:59 am

Hello,

Sorry to keep you waiting.
The new version of Spire.Pdf( Spire.PDF Pack Version:3.5 ) added a new method to change the highlight color.
Code: Select all
PdfDocument pdf=new PdfDocument(inputFileName);
PdfTextFind[] result=null;
foreach(PdfPageBase page in pdf.Pages)
{
    result=page.FindText("text").Finds;
    foreach(PdfTextFind find in result)
    {
        find.ApplyHighLight(Color.Green);
    }
}

Please download it via link below and have a try.
http://www.e-iceblue.com/Download/download-pdf-for-net-now.html

Best Regards,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Thu Aug 20, 2015 9:07 am

Hello,

Have you tried the new method in Spire.PDF Pack Version:3.5?
Has your issue been resolved?
Thanks for your feedback.

Best Regards,
Sweety
E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Return to Spire.PDF