Bogue
| Numéro d’ID de bogue | BUG-000135314 |
|---|---|
| Envoi | November 10, 2020 |
| Dernière modification | July 11, 2025 |
| S’applique à | ArcGIS Pro SDK for .NET |
| Version trouvée | 2.6.3 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 |
| Version de correction | 2.7 |
| Statut | Fixed |
Consider the following code:
var multi = new MultipatchBuilder(mpb.ToGeometry() as Multipatch);
multi.SpatialReference = gda94;
mutltipatch = multi.ToGeometry();
where mpb is a MultipatchBuilderEx object and GDA94 is a spatial reference. By getting the geometry of the mpb and sending that as a parameter for the Multipatch Builder constructor, the user can set the spatial reference of the multipatch geometry to whatever the user wants and then use the ToGeometry() method to get a geometry object with a spatial reference.
ID de bogue: BUG-000135314
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support