|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOutputContext
Provides access to members that allow to manage the geometry transformation from the map context to the ouput device.
OutputContext is used to trasform geometries from Map reference frame to Output reference frame. Use IMapContext to convert all geometries from geographic units to map units before passing them to the OutputContext for display/printing.
Method Summary | |
---|---|
IGeometry |
fromMapToOutput(IGeometry ingeom)
Converts map geometry to output geometry. |
int |
getHDC()
The device context that the display is currently drawing to. |
ITrackCancel |
getTrackCancel()
Drawing will react on Cancel of ITrackCancel is not NULL. |
void |
init(double refScale,
double currentScale,
double resolution,
double rotation,
IPoint currentScreenCenter,
tagRECT deviceRect,
int outputDevice)
Initializes the output context. |
void |
setTrackCancel(ITrackCancel trackCancel)
Drawing will react on Cancel of ITrackCancel is not NULL. |
Method Detail |
---|
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.
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.IGeometry fromMapToOutput(IGeometry ingeom) throws IOException, AutomationException
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.void setTrackCancel(ITrackCancel trackCancel) throws IOException, AutomationException
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.ITrackCancel getTrackCancel() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getHDC() throws IOException, AutomationException
Initialize OutputContext before accessing this property.
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 |