UiPath Documentation
marketplace
latest
false
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Marketplace 用户指南

上次更新日期 2026年4月1日

获取地点照片

“获取地点照片”活动使您可以访问存储在地点数据库中的数百万张照片。 当您使用“获取地点详细信息”活动获取地点信息时,系统将返回相关照片内容的照片参考。 如果相关,“附近的搜索” 和“查找地点” 活动还会返回每个地点的单个照片参考。 然后,您可以使用“获取位置照片”活动访问引用的照片,并将图像大小调整为适合您的应用程序的最佳尺寸。

属性

输入

  • Photo Reference - a string used to identify the photo.

    数据类型: System.String

示例:查找地点、 附近搜索或获取地点详细信息的响应中返回的照片[] 数组示例如下所示。

...
"photos": [{
        "html_attributions": [],
        "height": 853,
        "width": 1280,
        "photo_reference": "CnRvAAAAwMpdHeWlXl-lH0vp7lez4znKPIWSWvgvZFISdKx45AwJVP1Qp37YOrH7sqHMJ8C-vBDC546decipPHchJhHZL94RcTUfPa1jWzo-rSHaTlbNtjh-N68RkcToUCuY9v2HNpo5mziqkir37WU8FJEqVBIQ4k938TI3e7bf8xq-uwDZcxoUbO_ZJzPxremiQurAYzCTwRhE_V0"
    }
...
...
"photos": [{
        "html_attributions": [],
        "height": 853,
        "width": 1280,
        "photo_reference": "CnRvAAAAwMpdHeWlXl-lH0vp7lez4znKPIWSWvgvZFISdKx45AwJVP1Qp37YOrH7sqHMJ8C-vBDC546decipPHchJhHZL94RcTUfPa1jWzo-rSHaTlbNtjh-N68RkcToUCuY9v2HNpo5mziqkir37WU8FJEqVBIQ4k938TI3e7bf8xq-uwDZcxoUbO_ZJzPxremiQurAYzCTwRhE_V0"
    }
...

我们必须使用键“照片_参考”的值

  • Max Height: Specifies the maximum desired height in pixels, of the image returned by the Place Photos service.

    数据类型: System.String

示例:“400”

  • Max Width: Specifies the maximum desired width in pixels, of the image returned by the Place Photos service.

    数据类型: System.String

示例:“300”

输出

  • Folder Path: The path of the folder where image must be saved.

    数据类型: System.String

示例:“C:\Users\ashraya.hd\Documents\UiPath”

  • Image: The image in the form of System.Drawing.Image Data Type: System.Drawing.Image

  • Base64: The image in the form of base64 string.

    数据类型: System.String

常见

  • “显示名称”- 活动的显示名称。

其他

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level. For More info follow the link.
  • 属性
  • 输入
  • 输出
  • 常见
  • 其他

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新