CreateTheme(map)
Returns the Theme object that represents a GDB theme. The map argument specifies the Map object upon which the theme has been built. The created theme has no layers. To add map layers to the theme, it is necessary to add layers to the Theme::Layers collection by the Append method. The added layers have no feature types. To add feature types to theme layers, it is necessary to add feature types (objects FeatureTypes) to the Layer::FeatureTypes collection. The created theme is not added to the GeoDatabase::Themes collection (it is not cataloged). Using not cataloged themes is possible. To catalog the theme, it is necessary to set its name up by the Theme::Name property and add it to the GeoDatabase::Themes collection by the Append method.