Beispiel #1
0
        private void cbMeridianRenderMode_SelectedIndexChanged(object sender, EventArgs e)
        {
            ArcRenderMode arcRenderMode = (ArcRenderMode)((NComboBox)sender).SelectedItem;

            m_MapImporter.Meridians.ArcRenderMode = arcRenderMode;
            NMapArcsShape.Find(document, ArcType.Meridian).ArcRenderMode = arcRenderMode;

            document.SmartRefreshAllViews();
        }
Beispiel #2
0
        private void cbLabelRenderMode_SelectedIndexChanged(object sender, EventArgs e)
        {
            ArcLabelRenderMode labelRenderMode = (ArcLabelRenderMode)cbLabelRenderMode.SelectedItem;

            m_MapImporter.Meridians.LabelRenderMode = labelRenderMode;
            m_MapImporter.Parallels.LabelRenderMode = labelRenderMode;

            NMapArcsShape.Find(document, ArcType.Parallel).LabelRenderMode = labelRenderMode;
            NMapArcsShape.Find(document, ArcType.Meridian).LabelRenderMode = labelRenderMode;

            document.SmartRefreshAllViews();
        }