Jagged Edges?

Hello,
Is there a way to remove the jagged edges on the right side? I tried using this method, but nothing has changed.

capsule.SetJaggedEdges(false,false)