ESRI.ArcGIS.Display.ITemplate templateCls = new ESRI.ArcGIS.Display.TemplateClass(); templateCls.Interval = 1; templateCls.AddPatternElement(1, 3);