AnsweredAssumed Answered

Measured Grid in layoutOption

Question asked by cadgis on Dec 4, 2017
Latest reply on Dec 29, 2017 by magellen

I have created few  layout views in arc map and published as print services and consuming this services for printing. I have few custom text elements, scale bar and Measured Grid.  I am able to place custom text elements as desired. The problem is Measured Grid. I want to increase or decrease the grid line intervals based on scale and/or paper size. I dont find anything related to grids in Template.layoutOptions.


How can I achieve this please..



 case "A4 Landscape":
            var printTask = new esri.tasks.PrintTask(UrlprintA4);
            var params = new esri.tasks.PrintParameters();
            var template = new esri.tasks.PrintTemplate();
            template.format = printFormat;
            template.layout = printLayout;
            template.layout = "CustomA4";
            template.outScale = printScale;
            template.layoutOptions = {
                //customTextElements: [{ pinNumber: pin }, { Area: pinArea },  { userName: userName }, { printDate: myDate(Date()) }],
                customTextElements: customTextElementsArray,
             params.template = template;
            setTimeout(function () { printTask.execute(params, printResult, printError); }, 100);