-
exportedLinks
Collection<FileLink>
readonly
- 自从:ArcGIS 适用于 JavaScript 4.17 的 API
从“打印”小部件导出的链接集合。
例子:
require([ "esri/widgets/Print", "esri/config" ], function(Print, esriConfig) { // ... view.when(function () { print = new Print({ view: view, // specify your own print service printServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" }); // Add widget to the top right corner of the view view.ui.add(print, "top-right"); // use a requestInterceptor to monitor the print widget // for print completion esriConfig.request.interceptors.push({ // set the `urls` property to the URL of the print service so that this // interceptor only applies to requests made to the print service URL urls: print.printServiceUrl, // use the AfterInterceptorCallback to interogate the exportedLinks property after: function(response) { console.log("exportedLinks: ", print.exportedLinks.items[0]); } }); });
基本信息
以下是所在类或对象的基本信息。
AMD:
require(["esri/widgets/Print"], (Print) => { /* code goes here */ });
ESM:
import Print from "@arcgis/core/widgets/Print";
类:
esri/widgets/Print
自从:用于 JavaScript 4.2 的 ArcGIS API
用法说明
Print.exportedLinks
函数(或属性)的定义如下:
相关用法
- JavaScript ArcGIS Print.on用法及代码示例
- JavaScript ArcGIS Print.allowedLayouts用法及代码示例
- JavaScript ArcGIS Print.allowedFormats用法及代码示例
- JavaScript ArcGIS Print.headingLevel用法及代码示例
- JavaScript ArcGIS Print.classes用法及代码示例
- JavaScript ArcGIS Print.templateCustomTextElements用法及代码示例
- JavaScript ArcGIS Print.container用法及代码示例
- JavaScript ArcGIS Print.includeDefaultTemplates用法及代码示例
- JavaScript ArcGIS Print.when用法及代码示例
- JavaScript ArcGIS Print.portal用法及代码示例
- JavaScript ArcGIS Print.FileLink用法及代码示例
- JavaScript ArcGIS Print.visible用法及代码示例
- JavaScript ArcGIS Print.templateOptions用法及代码示例
- JavaScript ArcGIS PrintTemplate.layoutOptions用法及代码示例
- JavaScript ArcGIS PrintTask.url用法及代码示例
- JavaScript ArcGIS Print complete事件用法及代码示例
- JavaScript ArcGIS PrintTask.execute用法及代码示例
- JavaScript ArcGIS Print submit事件用法及代码示例
- JavaScript ArcGIS Print用法及代码示例
- JavaScript Promise finally()用法及代码示例
- JavaScript Promise.race()用法及代码示例
- JavaScript ArcGIS PolygonDrawAction draw-complete事件用法及代码示例
- JavaScript ArcGIS PathSymbol3DLayer用法及代码示例
- JavaScript ArcGIS Popup.autoOpenEnabled用法及代码示例
- JavaScript ArcGIS PointCloudLayer.apiKey用法及代码示例
注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 Print.exportedLinks。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。