laptop and a wrench

Bug

IMapControl::ShowScrollbars property does not work properly, if the MapControl has been added after any additional control other than the LicenseControl.

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM012727
EingereichtOctober 31, 2007
Zuletzt geändertJune 5, 2024
Gilt fürNo Product Found
Gefunden in Version9.2
StatusWill Not Be Addressed

Zusätzliche Informationen

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

//Slightly alter the MapControl::Extent during the Form::Activated event.private void Form1_Activated(object sender, EventArgs e){ IPoint centerPoint = new PointClass(); IEnvelope env = axMapControl1.ActiveView.ScreenDisplay.DisplayTransformation.VisibleBounds; axMapControl1.Extent = env; centerPoint.X = ((env.XMax - env.XMin) / 2) + env.XMin + .0000001; centerPoint.Y = ((env.YMax - env.YMin) / 2) + env.YMin + .0000001; env.CenterAt(centerPoint); axMapControl1.ActiveView.ScreenDisplay.DisplayTransformation.VisibleBounds = env; axMapControl1.ActiveView.Refresh();}

Schritte zur Reproduzierung

Bug-ID: NIM012727

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln