how to export feature class layer linked with table to shapefile?

1186
2
09-10-2012 04:11 PM
by Anonymous User
Not applicable
Original User: helenchu

All:

I use: pExportOp.ExportFeatureClass(pInDsName, Nothing, _
                    pSelSet, Nothing, pOutDatasetName, 0)

to export a layer (linked with an attribute table) to shapefile.  The shapefile I got did not include any field from the table.  Any help is appreciated.

thank you,
0 Kudos
2 Replies
DuncanHornby
MVP Notable Contributor
Helen,

If it were me I would call the Geoprocessing tool FeatureClass to FeatureClass but if you want to use IExportOp then your problem may be down to how you reference your layer. Did you use IGeoFeatureLayer and the property DisplayFeatureClass this includes joined fields?

Duncan
0 Kudos
by Anonymous User
Not applicable
Original User: helenchu

No I just used iFeatureLayer not iGeoFeatureLayer.
I have to do export on many layers of many type. 
I tried Geoprocessing tool FeatureClass to FeatureClass but for my row annotation layer, label for row anno shapefile does not show correctly.  The anno is shown horrizontally not curved to the row line.  Do you know how to get this issue fixed in FeatureClass to FeatureClass tool?

Thanks so much for your help.
0 Kudos