Exemple #1
0
 /// <summary>
 /// Inidcate the input file have already loaded into the ArcMap.
 /// </summary>
 private void inputRasterComboBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     editLayer = (IRasterLayer)ArcMapApp.GetLayer(inputRasterComboBox.Text);
     ShowExtent(editLayer);
 }
Exemple #2
0
        /// <summary>
        /// Select the reference file loaded in the ArcMap.
        /// </summary>
        private void outputExtentComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            IRasterLayer rasterLayer = (IRasterLayer)ArcMapApp.GetLayer(outputExtentComboBox.Text);

            ShowExtent(rasterLayer);
        }