Get Layout Templates Info Task
- URL:http:// <catalog-url>/Utilities/PrintingTools/GPServer/Get Layout Templates Info Task
- Version Introduced:10.4
Description
This task provides layout information about a print service layout. The task provides the size of the layout page and the size of the active data frame. It also shows whether the following layout elements are available:
- Legend
- Title text
- Copyright text
- Author text
- Custom text elements
Request parameters
Parameter | Details |
|---|---|
| f | Description: The response format. The default response format is html. Values: html | json | kmz |
JSON response example
{
"results": [
{
"paramName": "Output_JSON",
"dataType": "GPString",
"value": [
{
"layoutOptions": {
"hasAuthorText": false,
"hasCopyrightText": false,
"hasTitleText": true,
"hasLegend": false,
"customTextElements": [
]
},
"pageSize": [
8.5,
11.0
],
"layoutTemplate": "LayoutT2",
"activeDataFrameSize": [
7.0,
9.5
]
}
]
}
],
"messages": [
]
}