public enum TemplateType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum TemplateType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum TemplateType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum TemplateType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Catalog | Create a new project with an open catalog view. For example, create a project like this to manage your data. |
GlobalScene | Create a new project with an open 3D global scene. |
LocalScene | Create a new project with an open 3D local scene. |
Map | Create a new project with an open 2D map. |
Untitled | Start working in ArcGIS Pro without creating a project first. You can save a project later if you want to keep your work. |
Gets and sets the project system template type that will be used to create the new project Remarks: The selected template type will be applied when creating a new project.Supplying a full path to a template overrides this setting.The supplied template will be used instead of the supplied system template setting.
//Settings used to create a new project CreateProjectSettings proTemplateSettings = new CreateProjectSettings() { //Sets the project's name Name = "New Project", //Path where new project will be stored in LocationPath = @"C:\Data\NewProject", //Select which Pro template you like to use TemplateType = TemplateType.Catalog //TemplateType = TemplateType.LocalScene //TemplateType = TemplateType.GlobalScene //TemplateType = TemplateType.Map }; //Create the new project await Project.CreateAsync(proTemplateSettings);
System.Object
System.ValueType
System.Enum
ArcGIS.Desktop.Core.TemplateType
Target Platforms: Windows 11, Windows 10