Hello,
I am using the ActiveX Plugin from Java and want to set the properties BlendMode, FillColor and Opacity for the HighlightTextTool. However I can't find the correct names and settings in the documentation. I want to do something like:
setProperty("Commenting.HighlightTextTool.Styles.Opacity", 100.0);
Is this possible? Is there a list of all properties I can set?
Kind regards
Rudi
Properties for HighlightTextTool
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 73
- Joined: Tue Oct 14, 2008 2:14 pm
- Location: Munich, Germany
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Properties for HighlightTextTool
Hi Rudi.
The correct way:
HTH.
The correct way:
Code: Select all
int curStyleID = 0;
pdfViewer.GetProperty("Tools.Highlight.Style", out curStyleID, 0);
string curStylePath = "Commenting.Highlight.Styles[#" + curStyleID + "].";
pdfViewer.SetProperty(curStylePath + "SColor", RGB(255, 0, 255), 0);
pdfViewer.SetProperty(curStylePath + "FColor", RGB(0, 255, 255), 0);
pdfViewer.SetProperty(curStylePath + "Opacity", 0.5, 0);
pdfViewer.SetProperty(curStylePath + "BlendMode", "Overlay", 0);
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 73
- Joined: Tue Oct 14, 2008 2:14 pm
- Location: Munich, Germany
Re: Properties for HighlightTextTool
Thank you much Vasyl,
it works perfect.
Another question: Where can I find such kind of information. Normaly I use the PDF XChange Viewer SDK Reference. Is there something like a programming manual or tips and tricks or something else.
kind regards
Rudi
it works perfect.
Another question: Where can I find such kind of information. Normaly I use the PDF XChange Viewer SDK Reference. Is there something like a programming manual or tips and tricks or something else.
kind regards
Rudi
- Tracker Supp-Stefan
- Site Admin
- Posts: 17908
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Properties for HighlightTextTool
Hello Rudi,
The Manual is indeed the best place to search for such information, and if you've tried but could not find it yourself - you can always ask here in the forums!
Have you seen the online version of the manual?
https://help.pdf-xchange.com/DEV/de ... n=vwraxsdk
Regards,
Stefan
The Manual is indeed the best place to search for such information, and if you've tried but could not find it yourself - you can always ask here in the forums!
Have you seen the online version of the manual?
https://help.pdf-xchange.com/DEV/de ... n=vwraxsdk
Regards,
Stefan