Skip to content
import PrintParameters from "@arcgis/core/rest/support/PrintParameters.js";
Inheritance:
PrintParametersAccessor
Since
ArcGIS Maps SDK for JavaScript 4.20

Input parameters for print.

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

extraParameters

Property
Type
any

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

autocast Property
Type
SpatialReference | null | undefined

Specify the output spatial reference for the printout.

template

Property
Type
PrintTemplate

Defines the layout template used for the printed map.

view

Property
Type
MapView

The view to print.