AnsweredAssumed Answered

Save layer file of previous version

Question asked by rtolapi on Jul 16, 2014
Latest reply on Jul 21, 2014 by rtolapi

How to save layer file of previous version using ArcObjects Java API from ArcGIS 10.2? I was using the below code, but no option available to specify the layer file version.

 

ILayerFile layerFile = new LayerFile();

layerFile.esri_new(fileName);

layerFile.replaceContents(layer);

layerFile.save();

Outcomes