public class MapImage extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IImageResult, IImageResultEdit, IMapImage, IMapImageEdit, IXMLSerialize, IPersistStream, IPersist, IXMLVersionSupport, java.io.Externalizable
Description 'The Map Image coclass contains information about the generated map image.' 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 =
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
IID, IID8a77bea2_5541_4ade_93bc_d5cba56034c8, xxDummy
IIDbe47d208_d27a_4048_a118_c9167662db74
IID, IID074ca273_d7b9_4243_b537_e15b22cbdbd5, xxDummy
IID83ee34c3_c1f3_46bd_a612_075d84f274b8
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
Constructor and Description |
---|
MapImage()
Constructs a MapImage using ArcGIS Engine.
|
MapImage(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
MapImage theMapImage = (MapImage) obj; |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getHeight()
The height of the image in pixels.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
IEnvelope |
getMapExtent()
The geographic extent of the map that is fitted to the height and width of the generated image.
|
double |
getMapScale()
The scale of the generated map image.
|
byte[] |
getMimeData()
Binary data representing the generated image.
|
java.lang.String |
getMimeType()
The MIME type of the generated image.
|
java.lang.String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace).
|
double |
getReferenceDPI()
The device resolution of the image specified in the request (dots per inch).
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
java.lang.String |
getURL()
The URL of the generated image.
|
ILongArray |
getVisibleLayers()
Array of the visible layers drawn for the generated map scale.
|
int |
getWidth()
The width of the image in pixels.
|
int |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setHeight(int rhs1)
The height of the image in pixels.
|
void |
setMapExtent(IEnvelope rhs1)
The geographic extent of the map that is fitted to the height and width of the generated image.
|
void |
setMapScale(double rhs1)
The scale of the generated map image.
|
void |
setMimeData(byte[] rhs1)
Binary data representing the generated image.
|
void |
setMimeType(java.lang.String rhs1)
The MIME type of the generated image.
|
void |
setReferenceDPI(double rhs1)
The device resolution of the image specified in the request.
|
void |
setURL(java.lang.String rhs1)
The URL of the generated image.
|
void |
setVisibleLayers(ILongArray rhs1)
Array of the visible layers drawn for the generated map scale.
|
void |
setWidth(int rhs1)
The width of the image in pixels.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public MapImage() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic MapImage(java.lang.Object obj) throws java.io.IOException
MapImage theMapImage = (MapImage) obj;
obj
to MapImage
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
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 byte[] getMimeData() throws java.io.IOException, AutomationException
getMimeData
in interface IImageResult
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getURL() throws java.io.IOException, AutomationException
getURL
in interface IImageResult
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getHeight() throws java.io.IOException, AutomationException
getHeight
in interface IImageResult
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getWidth() throws java.io.IOException, AutomationException
getWidth
in interface IImageResult
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getReferenceDPI() throws java.io.IOException, AutomationException
getReferenceDPI
in interface IImageResult
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMimeType() throws java.io.IOException, AutomationException
getMimeType
in interface IImageResult
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMimeData(byte[] rhs1) throws java.io.IOException, AutomationException
setMimeData
in interface IImageResultEdit
rhs1
- An unsigned byte (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setURL(java.lang.String rhs1) throws java.io.IOException, AutomationException
setURL
in interface IImageResultEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setHeight(int rhs1) throws java.io.IOException, AutomationException
setHeight
in interface IImageResultEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setWidth(int rhs1) throws java.io.IOException, AutomationException
setWidth
in interface IImageResultEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setReferenceDPI(double rhs1) throws java.io.IOException, AutomationException
setReferenceDPI
in interface IImageResultEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMimeType(java.lang.String rhs1) throws java.io.IOException, AutomationException
setMimeType
in interface IImageResultEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnvelope getMapExtent() throws java.io.IOException, AutomationException
getMapExtent
in interface IMapImage
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ILongArray getVisibleLayers() throws java.io.IOException, AutomationException
getVisibleLayers
in interface IMapImage
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMapScale() throws java.io.IOException, AutomationException
getMapScale
in interface IMapImage
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMapExtent(IEnvelope rhs1) throws java.io.IOException, AutomationException
setMapExtent
in interface IMapImageEdit
rhs1
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setVisibleLayers(ILongArray rhs1) throws java.io.IOException, AutomationException
setVisibleLayers
in interface IMapImageEdit
rhs1
- A reference to a com.esri.arcgis.system.ILongArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMapScale(double rhs1) throws java.io.IOException, AutomationException
setMapScale
in interface IMapImageEdit
rhs1
- The rhs1 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMinNamespaceSupported() throws java.io.IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException