com.esri.arcgis.carto
Interface ICenterAndSize

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CenterAndSize, ICenterAndSizeProxy

public interface ICenterAndSize
extends java.io.Serializable

COM Interface 'ICenterAndSize'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to the Center And Size Map Area Interface.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID003c322d_e8c1_43e2_8da3_3bcd81fdd2f8
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IPoint getCenter()
          The center of the map.
 double getHeight()
          The height of the map expressed in map units.
 int getUnits()
          The current map units.
 double getWidth()
          The width of the map expressed in map units.
 void setCenter(IPoint center)
          The center of the map.
 void setHeight(double height)
          The height of the map expressed in map units.
 void setUnits(int units)
          The current map units.
 void setWidth(double width)
          The width of the map expressed in map units.
 

Field Detail

IID003c322d_e8c1_43e2_8da3_3bcd81fdd2f8

static final int IID003c322d_e8c1_43e2_8da3_3bcd81fdd2f8
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getCenter

IPoint getCenter()
                 throws java.io.IOException,
                        AutomationException
The center of the map.

Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCenter

void setCenter(IPoint center)
               throws java.io.IOException,
                      AutomationException
The center of the map.

Parameters:
center - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

double getHeight()
                 throws java.io.IOException,
                        AutomationException
The height of the map expressed in map units.

Returns:
The height
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeight

void setHeight(double height)
               throws java.io.IOException,
                      AutomationException
The height of the map expressed in map units.

Parameters:
height - The height (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

double getWidth()
                throws java.io.IOException,
                       AutomationException
The width of the map expressed in map units.

Returns:
The width
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWidth

void setWidth(double width)
              throws java.io.IOException,
                     AutomationException
The width of the map expressed in map units.

Parameters:
width - The width (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUnits

int getUnits()
             throws java.io.IOException,
                    AutomationException
The current map units.

Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUnits

void setUnits(int units)
              throws java.io.IOException,
                     AutomationException
The current map units.

Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.