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