ArcGIS Engine Developer encountered problems and solutions

1. Description of the problem - Operation Note: ArcGIS Version not specified by You Call the MUST RuntimeManager.Bind the before the any ArcGIS Creating Components..

     Workaround - In the Program.cs file, write the following contents yellow:

1        Application.EnableVisualStyles();
2             Application.SetCompatibleTextRenderingDefault(false);
3             ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
4             Application.Run(new Form1());

 

2, description of the problem - Add the contents of 1 or prompt the same error

  Workaround - 64-bit operating system is required in the project build options, select the Target CPU is x86

3, esriControlsMousePointer Introduction

esriControlsMousePointer constant 
control the mouse pointer options. 
esriControlsMousePointer ESRI.ArcGIS.Controls need to add a reference 

attribute describes 

esriPointerParentWindow - . 1 pointer specifies the parent window or form. 
esriPointerDefault 0 default pointer, as an arrow. 
esriPointerArrow . 1 arrow standards. 
esriPointerCrosshair 2 reticle. 
esriPointerIBeam 3 I-beam. 
esriPointerIcon 4 icon. 
esriPointerSize 5 size, four-way arrow pointing north, south, east and west. 
esriPointerSizeNESW 6 dimensions of the NE- SW, double arrow pointing northeast and southwest. 
esriPointerSizeNS . 7 size NS, double arrow pointing to north and south. 
esriPointerSizeNWSE 8Size NW- SE, double arrow pointing northwest and southeast. 
esriPointerSizeWE 9 size, our double arrow pointing east and west. 
esriPointerUpArrow 10 vertical arrow. 
esriPointerHourglass . 11 hourglass wait cursor. 
esriPointerNoDrop 12 through its circle slash or did not enter sign. 
esriPointerArrowHourglass 13 is standard and small arrows hourglass. 
esriPointerArrowQuestion 14 arrows and question mark. 
esriPointerSizeAll 15 all sizes, the arrow points north, south, east, west IV. 
esriPointerZoom 50 enlarged, the magnifying glass. 
esriPointerZoomIn 51 is enlarged, the magnifying glass has a plus sign. 
esriPointerZoomOut 52 narrow, minus magnifying glass. 
esriPointerPan 53 Pan, one hand.
esriPointerPanning 54 pan, a clenched hand. 
esriPointerIdentify 55 identification, the arrow symbol information. 
esriPointerLabel 56 is the label, the arrow and the letter A. 
esriPointerHotLink 57 hot link, lightning. 
esriPointerPencil 58 pencil. 
esriPointerHand 59 hand, closed hand with the index finger, pointing to the vertical. 
esriPointerPageZoomIn 60 page zoom, magnifying glass, and a small plus sign page. 
esriPointerPageZoomOut 61 pages shrink, there is minus magnifying glass and a small page. 
esriPointerPagePan 62 pages pot, open hand symbol page. 
esriPointerPagePanning 63 Ye pot, close hand and a symbol page. 
esriPointerCustom 99 the MouseIcon attribute specified custom icons

 

Guess you like

Origin www.cnblogs.com/dangpengfei/p/11202830.html