"Cloud" border affect for Circle annotation

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

DanielG
User
Posts: 34
Joined: Wed Oct 09, 2013 5:58 pm

"Cloud" border affect for Circle annotation

Post by DanielG »

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.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: "Cloud" border affect for Circle annotation

Post by Vasyl - PDF-XChange »

Hi, Deniel.

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;
We will fix this bug in the next build. RT#2126: JavaScript: some annot creation problems.

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.
DanielG
User
Posts: 34
Joined: Wed Oct 09, 2013 5:58 pm

Re: "Cloud" border affect for Circle annotation

Post by DanielG »

Perfect! That did the trick - thanks!
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19877
Joined: Mon Jan 12, 2009 8:07 am

Re: "Cloud" border affect for Circle annotation

Post by Stefan - PDF-XChange »

:)
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: "Cloud" border affect for Circle annotation

Post by Ivan - Tracker Software »

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.