ParcelLayerCreationParams Class
Represents an object to initialize and create a parcel layer with pre-defined properties.
Add a Parcel Layer to the map
string path = @"C:\MyTestData\MyFileGeodatabase.gdb\MyFeatureDS\MyFabric";
await QueuedTask.Run(() =>
{
var lyrCreateParams = new ParcelLayerCreationParams(new Uri(path));
try
{
var parcelLayer = LayerFactory.Instance.CreateLayer<ParcelLayer>(
lyrCreateParams, MapView.Active.Map);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Add Parcel Fabric Layer");
}
});
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.1 or higher.