-
Jul 2nd, 2020, 10:46 AM
#1
Thread Starter
New Member
Using pIDentify on Raster File
Hello,
I am writing a code in VB.NET to identity a point on a Map using ArcMap as my interface. I am encountering the problem of my function ONLY retrieving the point on Map in debugging mode, but when I run in Auto Run(runtime) mode it fails. I am not understanding why this is happening. Any assistance will be much appreciated. Thank you.
Here is the code:
'IDENTIFY TOOL: IDENTIFY ON RASTER LAYER (Raster DataSet)
pPoint = activeView.ScreenDisplay.DisplayTransformation.ToMapPoint(lonx, laty)
pGeom = pPoint
pIdentify = CType(pRLayer, IIdentify)
-
Jul 14th, 2020, 12:02 PM
#2
Re: Using pIDentify on Raster File
Originally Posted by ersmarlon
Hello,
I am writing a code in VB.NET to identity a point on a Map using ArcMap as my interface. I am encountering the problem of my function ONLY retrieving the point on Map in debugging mode, but when I run in Auto Run(runtime) mode it fails. I am not understanding why this is happening. Any assistance will be much appreciated. Thank you.
Here is the code:
'IDENTIFY TOOL: IDENTIFY ON RASTER LAYER (Raster DataSet)
pPoint = activeView.ScreenDisplay.DisplayTransformation.ToMapPoint(lonx, laty)
pGeom = pPoint
pIdentify = CType(pRLayer, IIdentify)
Hello ersmarlon,
It looks like more information is needed. Perhaps you could upload your entire project? Here's a link I found https://community.esri.com/thread/32636. Does this help you any further?
yours,
Peter Swinkels
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|