stroke weight


1:

pmreal strokeweight=0;

 

 

if(style == border_style_ind_plain)//no border

{

strokeweight=0;

}

else if(style == border_style_ind_plain_border)// border

{

strokeweight=0.5;

}

 

 

// apply stroke our item

interfaceptr<icommand> strokesplinecmd (utils<igraphicattributeutils>()->createstrokeweightcommand(strokeweight,&splineitemlist, ktrue,ktrue));

if(strokesplinecmd==nil)

{

assert_fail("cannot create command stroke spline?");

//break; -- illegal break error???

}

 

 

here , while applying stroke frame , i'm giving stroke wight "0" frames don't need border

but when check result frames have wight "1" instead of "0"

idea why?

 

 

2: in same code i'm getting illegal break error !!

break should inside loop. copied code somewhere without including loop.



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop