AbstractPath.FromStream
AbstractPath.FromStream method
从 Stream 创建一个 AbstractPath。
public static AbstractPath FromStream(Stream stream)
| 参数 | 类型 | 描述 |
|---|---|---|
| stream | Stream | 用于创建 AbstractPath 的 Stream。Aspose.GIS 不会释放该流。 |
返回值
一个 AbstractPath 实例,其内容为指定的 Stream。
备注
此方法可用于将单文件格式(如 GeoJSON 或 KML)的数据流传递给期望 AbstractPath 的方法。
另见
- class AbstractPath
- namespace Aspose.Gis
- assembly Aspose.GIS