简体   繁体   English

PdfClown TextMarkUp颜色更改

[英]PdfClown TextMarkUp Color change

I am doing a search in PDF and if found hightlight it, so created a TextMarkup object with MarkupTypeEnum.Highlight, and tried to change the color as 我正在用PDF进行搜索,如果发现它很重要,那么就用MarkupTypeEnum.Highlight创建了一个TextMarkup对象,并尝试将颜色更改为

textMarkup.setColor(DeviceRGBColor.get(Color.RED));  or
textMarkup.setColor(new DeviceRGBColor((35.0/255.0), (35.0/255.0), (142.0/255.0)))

still the highlights are shown in yellow (default). 高光仍以黄色显示(默认)。 its not changing the color as i requested. 它没有按照我的要求改变颜色。 Please let me know, if you have any suggestions. 如果您有任何建议,请告诉我。 Thanks! 谢谢!

文本标记颜色更改的外观刷新最近得到修复:请下载最新版本 (如果使用的是PDF Clown 0.1.2或更早版本,请获取“错误修正快照”)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM