|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.controls.ARPageLayout
public class ARPageLayout
COM Class 'ARPageLayout'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriPublisherControls.olb'
Description 'The ARPageLayout container for the display of a page.' 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 |
---|
Constructor Summary | |
---|---|
ARPageLayout(java.lang.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(java.lang.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. |
java.lang.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. |
java.lang.Object |
getInternalObject()
The internal ArcObjects IPageLayout object. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getMapExtentType(IARMap pMap)
The extent type of the specified map. |
int |
getPageUnits()
The units of the page and all associated coordinates. |
java.lang.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 |
release()
Release a ARPageLayout. |
void |
setCustomProperty(java.lang.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(java.lang.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 |
Constructor Detail |
---|
public ARPageLayout(java.lang.Object obj) throws java.io.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
java.io.IOException
- if there are interop problems
ARPageLayout theARPageLayout = (ARPageLayout) obj;
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setExtent(double xMin, double yMin, double xMax, double yMax) throws java.io.IOException, AutomationException
setExtent
in interface IARPageLayout
xMin
- The xMin (in)yMin
- The yMin (in)xMax
- The xMax (in)yMax
- The yMax (in)
java.io.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 java.io.IOException, AutomationException
getExtent
in interface IARPageLayout
xMin
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFocusARMapByRef(IARMap ppARMap) throws java.io.IOException, AutomationException
setFocusARMapByRef
in interface IARPageLayout
ppARMap
- A reference to a com.esri.arcgis.controls.IARMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARMap getFocusARMap() throws java.io.IOException, AutomationException
getFocusARMap
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getARMapCount() throws java.io.IOException, AutomationException
getARMapCount
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARMap getARMap(int index) throws java.io.IOException, AutomationException
getARMap
in interface IARPageLayout
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPageUnits(int units) throws java.io.IOException, AutomationException
setPageUnits
in interface IARPageLayout
units
- A com.esri.arcgis.controls.esriARUnits constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPageUnits() throws java.io.IOException, AutomationException
getPageUnits
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getZoomPercent() throws java.io.IOException, AutomationException
getZoomPercent
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void zoomToPercent(int percent) throws java.io.IOException, AutomationException
zoomToPercent
in interface IARPageLayout
percent
- The percent (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void zoomToWholePage() throws java.io.IOException, AutomationException
zoomToWholePage
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void zoomToWidth() throws java.io.IOException, AutomationException
zoomToWidth
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh(boolean refreshNow) throws java.io.IOException, AutomationException
refresh
in interface IARPageLayout
refreshNow
- The refreshNow (in, optional, pass false if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMapExtentType(IARMap pMap) throws java.io.IOException, AutomationException
getMapExtentType
in interface IARPageLayout
pMap
- A reference to a com.esri.arcgis.controls.IARMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IARMap hitTestMap(int x, int y) throws java.io.IOException, AutomationException
hitTestMap
in interface IARPageLayout
x
- The x (in)y
- The y (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void zoomIn(double factor) throws java.io.IOException, AutomationException
zoomIn
in interface IARPageLayout
factor
- The factor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void zoomOut(double factor) throws java.io.IOException, AutomationException
zoomOut
in interface IARPageLayout
factor
- The factor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void pan(int direction, double screenPercentage) throws java.io.IOException, AutomationException
pan
in interface IARPageLayout
direction
- A com.esri.arcgis.controls.esriARDirection constant (in)screenPercentage
- The screenPercentage (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void centerAt(double xCoord, double yCoord) throws java.io.IOException, AutomationException
centerAt
in interface IARPageLayout
xCoord
- The xCoord (in)yCoord
- The yCoord (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getWidth() throws java.io.IOException, AutomationException
getWidth
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getHeight() throws java.io.IOException, AutomationException
getHeight
in interface IARPageLayout
java.io.IOException
- 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 java.io.IOException, AutomationException
toPagePoint
in interface IARPageLayout
x
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanUndoExtent() throws java.io.IOException, AutomationException
isCanUndoExtent
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void undoExtent() throws java.io.IOException, AutomationException
undoExtent
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanRedoExtent() throws java.io.IOException, AutomationException
isCanRedoExtent
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void redoExtent() throws java.io.IOException, AutomationException
redoExtent
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getInternalObject() throws java.io.IOException, AutomationException
getInternalObject
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCustomProperty() throws java.io.IOException, AutomationException
getCustomProperty
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomProperty(java.lang.Object pVal) throws java.io.IOException, AutomationException
setCustomProperty
in interface IARPageLayout
pVal
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTitle(java.lang.String currentTitle) throws java.io.IOException, AutomationException
setTitle
in interface IARPageLayout
currentTitle
- The currentTitle (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTitle() throws java.io.IOException, AutomationException
getTitle
in interface IARPageLayout
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasTitle() throws java.io.IOException, AutomationException
isHasTitle
in interface IARPageLayout
java.io.IOException
- 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 |