AnsweredAssumed Answered

Given an ISymbol, how to know if ICartographicLineSymbol or ICharacterMarker

Question asked by seannakasone on Jun 4, 2014
Latest reply on Jun 5, 2014 by seannakasone
Given an ISymbol, how do I know if it's a an ICartographicLineSymbol or ICharacterMarkerSymbol?

I tried using the "is" C# keyword....

if(mysymbol is ICartographicLineSymbol) {
} else if(mysymbol is ICharacterMarkerSymbol) {
}

But it doesn't work.

It does work with ISimpleFillSymbol however.

Any suggestions ?

Outcomes