how to get the pb type for PBObjLib.Symbol in .net

Discussion created by rnakhaee on Oct 25, 2012
Latest reply on Oct 25, 2012 by rnakhaee

I have some code I am trying to convert from vb6 to C# and in the vb6 code it uses a select case



Select Case (sym.Type)



where sym is a PBObjLib.Symbol.  This code will select based on this type( for example Case PBObjLib.pbSYMBOLTYPE.pbSymbolBar)


when I use the sym.Type in C# it just returns an integer.  Is there some correlation of this integer to the type of the symbol?  And is there anyway to extract the type in C#?