Select to view content in your preferred language

Markup tools no longer work in custom ArcReader 10 app

2820
3
11-23-2010 11:39 AM
JohnHarney
Occasional Contributor
I have a custom arcreader application that includes some of the markup tools (esriARToolMarkupPenThin, esriARToolMarkupPenMedium, etc.) (see example code below), but they no longer work after I upgraded my project to ArcReader 10 and Visual Studio Pro 2010...  Any ideas to fix the problem?

private void mnuPenThin_Click(object sender, EventArgs e)
        {
            tBarZoomInOut.Pushed = false;
            tBarZoomInBtn.Pushed = false;
            tBarZoomOutBtn.Pushed = false;
            tBarPanBtn.Pushed = false;
            tBarIdentifyBtn.Pushed = false;
            tBarHyperlinkBtn.Pushed = false;
            tBarMeasureBtn.Pushed = false;
            tBarZoomInPage.Pushed = false;
            tBarZoomOutPage.Pushed = false;
            tBarPanPage.Pushed = false;

            mnuPenThin.Checked = true;
            mnuPenMedium.Checked = false;
            mnuPenThick.Checked = false;

            mnuHighBlue.Checked = false;
            mnuHighGreen.Checked = false;
            mnuHighYellow.Checked = false;

            mnuEraseSm.Checked = false;
            mnuEraseMe.Checked = false;
            mnuEraseLa.Checked = false;
            mnuEraseSt.Checked = false;

            CurrentArcReader.CurrentARTool = esriARTool.esriARToolMarkupPenThin;
            StatusBar1.Panels[0].Text = "Current Tool: Thin Markup Pen";                      
        }
Tags (2)
0 Kudos
3 Replies
AntonSeiler
Emerging Contributor
Do you have found any solution?
I have the same problem.

Anton
0 Kudos
JohnHarney
Occasional Contributor
No such luck...I even tried it with ArcReader 10.1, but still did not work. Let me know if you come across something that works, though. Thanks.
0 Kudos
ÉricGosselin
Esri Contributor
The problem seem related to a known issue by Esri Inc:

NIM088941
http://support.esri.com/en/bugs/nimbus/TklNMDg4OTQx
0 Kudos