PrintParameters
require(["esri/tasks/support/PrintParameters"], function(PrintParameters) { /* code goes here */ });esri/tasks/support/PrintParametersInput parameters for PrintTask.
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 | The name of the class. more details | more details | Accessor | |
| Object | Additional parameters for the print service. more details | more details | PrintParameters | |
| SpatialReference | Specify the output spatial reference for the printout. more details | more details | PrintParameters | |
| PrintTemplate | Defines the layout template used for the printed map. more details | more details | PrintParameters | |
| MapView | The view to print. more details | more details | PrintParameters |
Property Details
- Since: ArcGIS API for JavaScript 4.7
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.