Type factoryType = Type.GetTypeFromProgID("esriSystem.ExtensionManager");
IExtensionManager extensionManager = (IExtensionManager)Activator.CreateInstance(factoryType);
IExtension extension = extensionManager.FindExtension("esriArcScan.Vectorization");
IExtensionConfig extensionConfig = (IExtensionConfig)extension;
extensionConfig.State = esriExtensionState.esriESEnabled;
扩展模块名称及UID参考地址