IMAGESIZE  Examples

Used in:  REQUEST  
Parent elements:  PROPERTIES  

<IMAGESIZE Attribute Description Table


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

     When parent element is GET_IMAGE:
     height ="1 - NNN"
     width ="1 - NNN"
     dpi ="1 - NNN"
     printheight ="1 - NNN"  [Same as height]
     printwidth ="1 - NNN"  [Same as width]
     scalesymbols ="true | false"  [false]
>

     No child elements
</IMAGESIZE >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for IMAGESIZE:


When parent element is GET_EXTRACT:
Attribute Usage Back to Top
height Image height in pixels.
width Image width in pixels.

When parent element is GET_IMAGE:
Attribute Usage Back to Top
dpi Dots per inch (dpi).
height Image height in pixels.
printheight Height of the output image in pixels.
printwidth Width of the output image in pixels.
scalesymbols Determines whether to increase or decrease symbology in proportion to a map image as the image increases or decreases in size.
width Image width in pixels.
 

Examples for IMAGESIZE:

Example 1: When in a GET_IMAGE request using dpi. Back to Top
<?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>

Example 2: When in a GET_IMAGE request using printwidth and printheight. Back to Top
<?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>