I have some annotation feature classes stored in a Pgdb.I want to export them to a shape file.Some field name need too be changed in that shape file.I am using vb .net to do this.Any help is appreciated.
As fas as i know you cannot change the field names or types on export. You have 3 options:
- build an exporter that does this,
- create an empty shapefile with the fields you want first and load the exported features into it using a field map. Or
- export the feature class, then add fields and calculate the values into the new field, then delete the original field... all three are kind of a pain.
Look at this exporting example. http://edndoc.esri.com/arcobjects/9.2/NET/91E3E8A0-D355-43D2-A201-0A8CEB719334.htm you may be able to change the output field object at the IFields sourceFields = sourceFeatureClass.Fields line. I have not tried it so I don't know if it will validate.