Hi,
How to add multiple filter to the SaveItemDialog()? I wanted to give an option to save Shapefiles or Featurclass. I am looking for something like IGxObjectFilterCollection.AddFilter method.
Right now in Pro SDK, I am using the below code but could not find an option to add multiple Filters.
SaveItemDialog pathOutputLayer = new SaveItemDialog();
pathOutputLayer.Filter = ItemFilters.shapefiles;
//pathOutputLayer.Filter = ItemFilters.featureClasses_all;
Thanks
Hi Sreehari
The only filters you can use are the predefined ItemFilers collection available in the Pro API. You can find the available collection here: http://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic8983.html
Currently there is no filter that will allow you to save to shapefiles or feature class.
Thanks
Uma Harano
Hi Uma,
Thanks for the response. The API reference link is broken.
Sorry about that. The link is now fixed.
I found "ItemFilters.featureClasses_all" as close alternative.
Thanks!!