|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.OutputContext
public class OutputContext
The context provided to pass from the map context to the output device.
There are three reference frames which are used for data translation between geographic, map and output display context. These frames are:
OutputContext CoClass relates to the Output Reference Frame. IOutputContext interface manages the map context object.
Constructor Summary | |
---|---|
OutputContext()
Constructs a OutputContext using ArcGIS Engine. |
|
OutputContext(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. OutputContext theOutputContext = (OutputContext) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
IGeometry |
fromMapToOutput(IGeometry ingeom)
Converts map geometry to output geometry. |
static String |
getClsid()
getClsid. |
int |
getHDC()
The device context that the display is currently drawing to. |
ITrackCancel |
getTrackCancel()
Drawing will react on Cancel of ITrackCancel is not NULL. |
int |
hashCode()
the hashcode for this object |
void |
init(double refScale,
double currentScale,
double resolution,
double rotation,
IPoint currentScreenCenter,
tagRECT deviceRect,
int outputDevice)
Initializes the output context. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
setTrackCancel(ITrackCancel trackCancel)
Drawing will react on Cancel of ITrackCancel is not NULL. |
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 OutputContext() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic OutputContext(Object obj) throws IOException
OutputContext theOutputContext = (OutputContext) obj;
obj
to OutputContext
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void init(double refScale, double currentScale, double resolution, double rotation, IPoint currentScreenCenter, tagRECT deviceRect, int outputDevice) throws IOException, AutomationException
CurrentScreenCenter must be in Map reference frame.
init
in interface IOutputContext
refScale
- The refScale (in)currentScale
- The currentScale (in)resolution
- The resolution (in)rotation
- The rotation (in)currentScreenCenter
- A reference to a com.esri.arcgis.geometry.IPoint (in)deviceRect
- A Structure: com.esri.arcgis.system.tagRECT (in)outputDevice
- The outputDevice (A COM typedef) (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry fromMapToOutput(IGeometry ingeom) throws IOException, AutomationException
fromMapToOutput
in interface IOutputContext
ingeom
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTrackCancel(ITrackCancel trackCancel) throws IOException, AutomationException
setTrackCancel
in interface IOutputContext
trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITrackCancel getTrackCancel() throws IOException, AutomationException
getTrackCancel
in interface IOutputContext
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getHDC() throws IOException, AutomationException
Initialize OutputContext before accessing this property.
getHDC
in interface IOutputContext
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 |