laptop and a wrench

Bogue

IDL for ExportToESRISpatialReference and ExportSpatialReferenceToPRJ IDL needs to be modified to work with .NET COM Interoperability.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM001895
EnvoiMarch 31, 2006
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée8.3
Version de correction9.2
StatutFixed

Solution de contournement

New GEN interface is created in 9.2.SG: This code runs much faster than the given example which takes ages - should probably be added as an example snippet:Try Dim sb As New System.Text.StringBuilder sb.Length = 10000 ' Get the result as a string Dim pStr As String = sb.ToString Dim cBytesWrote As Long Dim pESRISpatialRef2 As IESRISpatialReferenceGEN = AxMapControl1.Map.SpatialReference pESRISpatialRef2.ExportToESRISpatialReference(pStr, cBytesWrote) MessageBox.Show(pStr)Catch ex As Exception MessageBox.Show(Err.Description)End Try

Étapes pour reproduire

ID de bogue: NIM001895

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement