|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.controls.ARPageLayout
public class ARPageLayout
The ARPageLayout container for the display of a page.
| Constructor Summary | |
|---|---|
ARPageLayout(Object obj)
Construct a ARPageLayout using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
|---|---|
void |
centerAt(double xCoord,
double yCoord)
Moves the center of the page layout to the specified point. |
boolean |
equals(Object o)
Compare this object with another |
IARMap |
getARMap(int index)
The map at the specified index. |
int |
getARMapCount()
The number of maps in the page layout's map collection. |
Object |
getCustomProperty()
A property to associate data with an object. |
void |
getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
The visible extent of the page layout. |
IARMap |
getFocusARMap()
The current focus map that the current tool acts upon. |
double |
getHeight()
The height of the page. |
Object |
getInternalObject()
The internal ArcObjects IPageLayout object. |
int |
getMapExtentType(IARMap pMap)
The extent type of the specified map. |
int |
getPageUnits()
The units of the page and all associated coordinates. |
String |
getTitle()
The title in the page layout. |
double |
getWidth()
The width of the page. |
double |
getZoomPercent()
The zoom percent (100 means 1:1, 200 means twice the normal size). |
int |
hashCode()
the hashcode for this object |
IARMap |
hitTestMap(int x,
int y)
Returns the first map present in the page layout at the specified coordinates. |
boolean |
isCanRedoExtent()
Indicates if there is a page layout extent that can be redone. |
boolean |
isCanUndoExtent()
Indicates if there is a page layout extent that can be undone. |
boolean |
isHasTitle()
Indicates if the page layout has a title that can be changed. |
void |
pan(int direction,
double screenPercentage)
Pans the page layout by a factor in a specified direction. |
void |
redoExtent()
Redo the next page layout extent in the stack. |
void |
refresh(boolean refreshNow)
Redraws the page layout display area. |
void |
setCustomProperty(Object pVal)
A property to associate data with an object. |
void |
setExtent(double xMin,
double yMin,
double xMax,
double yMax)
Sets the visible extent of the page layout. |
void |
setFocusARMapByRef(IARMap ppARMap)
The current focus map that the current tool acts upon. |
void |
setPageUnits(int units)
The units of the page and all associated coordinates. |
void |
setTitle(String currentTitle)
The title in the page layout. |
void |
toPagePoint(int x,
int y,
double[] xCoord,
double[] yCoord)
Converts a point in device coordinates (typically pixels) to coordinates in page units. |
void |
undoExtent()
Undo to the previous page layout extent in the stack. |
void |
zoomIn(double factor)
Zooms in on the page layout by a factor. |
void |
zoomOut(double factor)
Zooms out on the page layout by a factor. |
void |
zoomToPercent(int percent)
Magnifies the page by a percentage (100 means actual size, 200 means twice the normal size). |
void |
zoomToWholePage()
Zooms to the whole page. |
void |
zoomToWidth()
Fits the width of the page into the page layout display area. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public ARPageLayout(Object obj)
throws IOException
obj to ARPageLayout. *
ARPageLayout o = (ARPageLayout)obj; // will not work
ARPageLayout o = new ARPageLayout(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException - if there are interop problems
ARPageLayout theARPageLayout = (ARPageLayout) obj;| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setExtent(double xMin,
double yMin,
double xMax,
double yMax)
throws IOException,
AutomationException
setExtent in interface IARPageLayoutxMin - The xMin (in)yMin - The yMin (in)xMax - The xMax (in)yMax - The yMax (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getExtent(double[] xMin,
double[] yMin,
double[] xMax,
double[] yMax)
throws IOException,
AutomationException
getExtent in interface IARPageLayoutxMin - The xMin (in/out: use single element array)yMin - The yMin (in/out: use single element array)xMax - The xMax (in/out: use single element array)yMax - The yMax (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFocusARMapByRef(IARMap ppARMap)
throws IOException,
AutomationException
setFocusARMapByRef in interface IARPageLayoutppARMap - A reference to a com.esri.arcgis.controls.IARMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARMap getFocusARMap()
throws IOException,
AutomationException
getFocusARMap in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getARMapCount()
throws IOException,
AutomationException
getARMapCount in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARMap getARMap(int index)
throws IOException,
AutomationException
getARMap in interface IARPageLayoutindex - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPageUnits(int units)
throws IOException,
AutomationException
setPageUnits in interface IARPageLayoutunits - A com.esri.arcgis.controls.esriARUnits constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPageUnits()
throws IOException,
AutomationException
getPageUnits in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getZoomPercent()
throws IOException,
AutomationException
getZoomPercent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomToPercent(int percent)
throws IOException,
AutomationException
zoomToPercent in interface IARPageLayoutpercent - The percent (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomToWholePage()
throws IOException,
AutomationException
zoomToWholePage in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomToWidth()
throws IOException,
AutomationException
zoomToWidth in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh(boolean refreshNow)
throws IOException,
AutomationException
refresh in interface IARPageLayoutrefreshNow - The refreshNow (in, optional, pass false if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMapExtentType(IARMap pMap)
throws IOException,
AutomationException
getMapExtentType in interface IARPageLayoutpMap - A reference to a com.esri.arcgis.controls.IARMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IARMap hitTestMap(int x,
int y)
throws IOException,
AutomationException
hitTestMap in interface IARPageLayoutx - The x (in)y - The y (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomIn(double factor)
throws IOException,
AutomationException
zoomIn in interface IARPageLayoutfactor - The factor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void zoomOut(double factor)
throws IOException,
AutomationException
zoomOut in interface IARPageLayoutfactor - The factor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void pan(int direction,
double screenPercentage)
throws IOException,
AutomationException
pan in interface IARPageLayoutdirection - A com.esri.arcgis.controls.esriARDirection constant (in)screenPercentage - The screenPercentage (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void centerAt(double xCoord,
double yCoord)
throws IOException,
AutomationException
centerAt in interface IARPageLayoutxCoord - The xCoord (in)yCoord - The yCoord (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getWidth()
throws IOException,
AutomationException
getWidth in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getHeight()
throws IOException,
AutomationException
getHeight in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void toPagePoint(int x,
int y,
double[] xCoord,
double[] yCoord)
throws IOException,
AutomationException
toPagePoint in interface IARPageLayoutx - The x (in)y - The y (in)xCoord - The xCoord (in/out: use single element array)yCoord - The yCoord (in/out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanUndoExtent()
throws IOException,
AutomationException
isCanUndoExtent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void undoExtent()
throws IOException,
AutomationException
undoExtent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanRedoExtent()
throws IOException,
AutomationException
isCanRedoExtent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void redoExtent()
throws IOException,
AutomationException
redoExtent in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getInternalObject()
throws IOException,
AutomationException
getInternalObject in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCustomProperty()
throws IOException,
AutomationException
getCustomProperty in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(Object pVal)
throws IOException,
AutomationException
setCustomProperty in interface IARPageLayoutpVal - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTitle(String currentTitle)
throws IOException,
AutomationException
setTitle in interface IARPageLayoutcurrentTitle - The currentTitle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getTitle()
throws IOException,
AutomationException
getTitle in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isHasTitle()
throws IOException,
AutomationException
isHasTitle in interface IARPageLayoutIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||