Playing with Tabs object...or trying to



TextHolder th = (TextHolder)plEnum.Value;
TextFrame tf = th.ShapeRef;
Tabs ts = tf.Tabs;
bool bShadow = false;

if (ts.Count != 0) //crash here
{
int count = ts.Count;
Trace.WriteLine(count.ToString());
Trace.WriteLine(count.ToString());
}



For some reason...I get "Object reference not set to an instance of an object" on the line that says "crash here."
Also, in the "Locals" window, for tf.Tabs...it says "".

Any ideas?