Skip to main content
Participating Frequently
April 16, 2007
Question

stroke width problem

  • April 16, 2007
  • 2 replies
  • 336 views
Hi,<br />have somebody met such problem as me?<br />I set stroke weight for frame by<br /><code><br />InterfacePtr<ICommand> strokeSplineCmd (Utils<IGraphicAttributeUtils>()->CreateStrokeWeightCommand(strokeWeight,&itemList,kTrue,kTrue));<br />InterfacePtr<ICommand> applyStrokeCmd(Utils<IGraphicAttributeUtils>()->CreateStrokeRenderingCommand(blackUID,&itemList,kTrue,kTrue));<br /></code><br /><br />and it works just fine if <code>strokeWeight</code> is higher than zero. Problem is when I set weight to 0. I expected that stroke disappear but it didn't. If I select taht frame I can see on stroke panel in weight box that it has really value 0 pt but stroke it is still visible as it had 0.25 pt.<br />If I change it manually to 0pt then stroke disappear. <br /><br />Do you know what's the problem?<br /><br />thanx,<br />pyso
This topic has been closed for replies.

2 replies

_pyso_Author
Participating Frequently
April 17, 2007
Hi Dave,
yes it helped.

ThanX a lot,
pyso
Inspiring
April 16, 2007
The UI is a plug-in that does extra stuff. Your plug-in needs to do the same extra stuff. Set the strokeColor to None.

Dave