PrintParameters

require(["esri/tasks/support/PrintParameters"], function(PrintParameters) { /* code goes here */ });
Class: esri/tasks/support/PrintParameters
Inheritance: PrintParameters Accessor
Since: ArcGIS API for JavaScript 4.1

Input parameters for PrintTask.

Constructors

new PrintParameters(properties)
Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
NameTypeSummaryClass
String

The name of the class.

more details
more detailsAccessor
Object

Additional parameters for the print service.

more details
more detailsPrintParameters
SpatialReference

Specify the output spatial reference for the printout.

more details
more detailsPrintParameters
PrintTemplate

Defines the layout template used for the printed map.

more details
more detailsPrintParameters
MapView

The view to print.

more details
more detailsPrintParameters

Property Details

declaredClassStringreadonly inherited
Since: ArcGIS API for JavaScript 4.7

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

extraParametersObject

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.

outSpatialReferenceSpatialReference

Specify the output spatial reference for the printout.

Defines the layout template used for the printed map.

The view to print.

API Reference search results

NameTypeModule
Loading...