Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

Given an ISymbol, how to know if ICartographicLineSymbol or ICharacterMarker

$
0
0
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 ?

Viewing all articles
Browse latest Browse all 1374

Trending Articles