Bug Number | BUG-000140416 |
Submitted | Jun 02, 2021 |
Modified | Mar 30, 2022 |
Severity | Medium |
Applies To | ArcObjects SDK for the Microsoft .NET Framework |
Version Found | 10.8.1 |
Prog Language | N/A |
Server Platform | Windows OS 10.0 64 Bit |
Client Platform | Windows OS 10.0 64 Bit |
Database | N/A |
Locale | N/A |
Status |
Unknown Text - Bugs/Fixed
Learn more |
Version Fixed | 10.8.2 |
SP Fixed | N/A |
Bug BUG-000140416
Synopsis
The ISurfaceOp.Visibility() method ignores the OFFSETB value in ArcObjects SDK for the Microsoft .NET Framework 10.6.1 and newer releases.
Additional Information
N/A
Alternate Solution
Set the AvolidDataConverstion property to true on the IRasterAnalysisGlobalEnvironment interface to allow the ArcObjects SDK 10.x Spatial Analyst execution path to be used. Insert the following 2 lines right before the Visibility method is called.
IRasterAnalysisGlobalEnvironment globalEnv = (IRasterAnalysisGlobalEnvironment)sop;
globalEnv.AvoidDataConversion = true;