Input parameters for print.
Constructors
-
new PrintParameters(properties)
-
Parameter:properties Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
Name | Type | Summary | Class | |
---|---|---|---|---|
String | more details The name of the class. | more details | Accessor | |
Object | more details Additional parameters for the print service. | more details | PrintParameters | |
SpatialReference | more details Specify the output spatial reference for the printout. | more details | PrintParameters | |
PrintTemplate | more details Defines the layout template used for the printed map. | more details | PrintParameters | |
MapView | more details The view to print. | more details | PrintParameters |
Property Details
-
The name of the class. The declared class name is formatted as
esri.folder.className
.
-
extraParameters Object
-
Additional parameters for the print service. When an arcpy script is published as a custom print service there may be additional parameters associated with the print service. To determine the extra parameters visit the ArcGIS REST Services Directory page for the print service.
-
outSpatialReference SpatialReference
-
Specify the output spatial reference for the printout.
-
template PrintTemplate
-
Defines the layout template used for the printed map.
-
view MapView
-
The view to print.
Method Overview
Name | Return Type | Summary | Class | |
---|---|---|---|---|
more details Adds one or more handles which are to be tied to the lifecycle of the object. | more details | Accessor |
Method Details
-
own(handleOrHandles)inheritedSince: ArcGIS API for JavaScript 4.24
-
Adds one or more handles which are to be tied to the lifecycle of the object. The handles will be removed when the object is destroyed.
// Manually manage handles const handle = reactiveUtils.whenOnce(() => !view.updating) .then(() => { wkidSelect.disabled = false; }); handle.remove(); // Assign a handle using own() this.own(reactiveUtils.whenOnce(() => !view.updating) .then(() => { wkidSelect.disabled = false; }));
Parameter:handleOrHandles WatchHandle|WatchHandle[]Handles marked for removal once the object is destroyed.