Esri / arcobjects-sdk-community-samples

This repo contains the source code samples (.Net c#, .Net vb, and C++) that demonstrate the usage of the ArcObject SDK.
Apache License 2.0
125 stars 195 forks source link

Change the symbol for a single feature in ArcObjects? #10

Closed milad-ghiami closed 5 years ago

milad-ghiami commented 6 years ago

Is it possible to change the symbol for a single feature in ArcObjects?

ArcGISP commented 6 years ago

Yes,

But sort of like in ArcMap, you would need to change the definition query. Is the symbol available from your layer or do you need to get it from a style file? Or you could make a separate layer with the only feature you need and set the symbol for the layer there.

milad-ghiami commented 6 years ago

thanks for answer, but i could not make a separate layer with the only feature. i set arrow symbol to pipe layer by ArcObject and went to disable symbol for some pipe in this layer