IMAGESIZE

Used in

REQUEST  

Servers

Image  Extract  ArcMap  

Parent elements

PROPERTIES 

Syntax

<IMAGESIZEAttribute Description Table

     When parent element is GET_EXTRACT:
     (r)height="1 - NNN"
     (r)width="1 - NNN"

     When parent element is GET_IMAGE when using ArcMap Server:
     (r)height="1 - NNN"
     (r)width="1 - NNN"
     dpi="1 - NNN"

     When parent element is GET_IMAGE when using Image Server:
     (r)height="1 - NNN"
     (r)width="1 - NNN"
     dpi="1 - NNN"
     printheight="1 - NNN" [Same as height]
     printwidth="1 - NNN" [Same as width]
     scalesymbols="true | false" [false]

     When parent element is GET_LAYOUT when using ArcMap Server:
     dpi="1 - NNN" [96]
     height="1 - NNN"
     width="1 - NNN"
>

     No Child Elements
</IMAGESIZE >
(r): Attribute or child element is required.

Description

When used with GET_IMAGE or GET_LAYOUT, defines width and height of output map. When used with GET_EXTRACT, defines which layers should be extracted if scale dependencies are present.

Restrictions


Notes


Attribute Descriptions for IMAGESIZE


When parent element is GET_EXTRACT:
AttributeUsage
heightImage height in pixels.
widthImage width in pixels.

When parent element is GET_IMAGE when using ArcMap Server:
AttributeUsage
dpiDots per inch (dpi).
heightImage height in pixels.
widthImage width in pixels.

When parent element is GET_IMAGE when using Image Server:
AttributeUsage
dpiDots per inch (dpi).
heightImage height in pixels.
printheightHeight of the output image in pixels.
printwidthWidth of the output image in pixels.
scalesymbolsDetermines whether to increase or decrease symbology in relative proportion to a map image as the image increases or decreases in size.
widthImage width in pixels.

When parent element is GET_LAYOUT when using ArcMap Server:
AttributeUsage
dpiDots per inch (dpi).
heightLayout height in pixels.
widthLayout width in pixels.
Back to top 

Examples for IMAGESIZE

Example 1: When in a GET_IMAGE request using printwidth and printheight.
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
<REQUEST>
  <GET_IMAGE>
    <PROPERTIES>
      <IMAGESIZE height="640" width="480" printheight="800" printwidth="600" />
    </PROPERTIES>
  </GET_IMAGE>
</REQUEST>
</ARCXML>

Example 2: When in a GET_IMAGE request using dpi.
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
  <REQUEST>
    <GET_IMAGE>
      <PROPERTIES>
        <ENVELOPE minx="-73.985" miny="40.756" maxx="-73.972" maxy="40.765" />
        <IMAGESIZE width="350" height="245" dpi="134" scalesymbols="true" />
      </PROPERTIES>
    </GET_IMAGE>
  </REQUEST>
</ARCXML>

Back to top