Select to view content in your preferred language

Change line width in layer properties by keeping same color arcobjects

3074
1
07-31-2015 10:27 PM
chaitanyavarma
Deactivated User

I am using C#for Arcobjects.

0 Kudos
1 Reply
SamiEria
Deactivated User


To change the width of a line, use the ISimpleLineSymbol.Width property. Please view the following code snippet:

The ISimpleLineSymbol interface is implemented by ISymbol. You will need to cast ISimpleLineSymbol to ISymbol, and then set the ISimpleRenderer.Symbol property to ISymbol.

Please view the detailed code sample  below to see the implementation of a renderer.

0 Kudos