漏洞
| 漏洞 ID 编号 | BUG-000135314 |
|---|---|
| 已提交 | November 10, 2020 |
| 上次修改时间 | July 11, 2025 |
| 适用范围 | ArcGIS Pro SDK for .NET |
| 找到的版本 | 2.6.3 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 |
| 修正版本 | 2.7 |
| 状态 | 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: BUG-000135314
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序