Hello,
It is possible to specify a "cloud" border for Circle annotations. However, when I try to create a Circle annoations using JavaScript, it seems to ignore the "cloud" settings.
Here is what I'm using:
var annot = this.addAnnot({
page: 0,
borderEffectIntensity: 1,
borderEffectStyle: "C",
dash: [],
fillColor: ["T"],
opacity: 1, popupOpen: false,
rect: [167.19715639810426,483,316.4,567],
strokeColor: ["RGB",1,0,0],
style: "S",
type: "Circle",
width: 1});
According to the documentation, a borderEffectStyle of "C" means it should have a "cloud" border. But the border is regular.
"Cloud" border affect for Circle annotation
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 34
- Joined: Wed Oct 09, 2013 5:58 pm
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: "Cloud" border affect for Circle annotation
Hi, Deniel.
Please try to use next workaround:
We will fix this bug in the next build. RT#2126: JavaScript: some annot creation problems.
Thanks for your report.
Best
Regards.
Please try to use next workaround:
Code: Select all
var annot = this.addAnnot({
page: 0,
dash: [],
fillColor: ["T"],
opacity: 1, popupOpen: false,
rect: [167.19715639810426,483,316.4,567],
strokeColor: ["RGB",1,0,0],
style: "S",
type: "Circle",
width: 1});
annot.borderEffectStyle = "C";
annot.borderEffectIntensity = 1;
Thanks for your report.
Best
Regards.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 34
- Joined: Wed Oct 09, 2013 5:58 pm
Re: "Cloud" border affect for Circle annotation
Perfect! That did the trick - thanks!
-
- Site Admin
- Posts: 19877
- Joined: Mon Jan 12, 2009 8:07 am
-
- Site Admin
- Posts: 3586
- Joined: Thu Jul 08, 2004 10:36 pm
Re: "Cloud" border affect for Circle annotation
fixed in build 309
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.