Corner options for line in InDesign CS5 js
hi, cs5 update getting error message 'object doesn't support property of method corneroptions' when use code cs4:
myroundcornerleftbottomverticalwhite = mydoc.graphiclines.add (mydoc.layers.item ("die"));
var mypathpoint = myroundcornerleftbottomverticalwhite.paths.item(0).pathpoints.add (mydoc.layers.item ("die"));
myroundcornerleftbottomverticalwhite.corneroption = corneroptions.rounded_corner;
myroundcornerleftbottomverticalwhite.cornerradius = myradius;
i not sure can use instead.
thank help.
yulia
check omv -- corner options changed cs4 cs5 plain 'corneroption' topleftcorneroption, toprightcorneroption, bottomleftcorneroption, , bottomrightcorneroption. it's possible set each corner value, instead of having them same.
you'll have try see 'top left', 'bottom right' etc. mean 1 single corner in graphic line ...
More discussions in InDesign Scripting
adobe
Comments
Post a Comment