|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImageServerLayer
Provides access to members that control an image server layer.
This interface is new at ArcGIS 9.3.
IImageServerLayer interface allows you to access properties of an ImageServerLayer created from an ImageServer. The properties include compression type and quality, serviceinfo, service URL, and so on. An ImageServerLayer is similar to a RasterLayer; you can change how the pixels render on the display by changing the renderer applied to the layer.
ImageServerLayer needs to be initialized using the Initialize method before use.
Method Summary | |
---|---|
String |
getCompression()
The transmission compression. |
int |
getCompressionQuality()
The transmission compression quality. |
IEnvelope |
getDataFrameExtent()
The extent of the dataframe that contains the layer. |
Object |
getDataSource()
Layer’s data source object. |
IRaster |
getRaster()
The assoicated raster. |
IRasterRenderer |
getRenderer()
The assoicated raster renderer. |
IImageServiceInfo |
getServiceInfo()
The image service info. |
String |
getServiceURL()
The layer’s service URL. |
IEnvelope |
getVisibleExtent()
The Visible extent of the layer in the data frame. |
void |
initialize(String serviceURL)
Initializes the layer with an image service URL. |
boolean |
isShowResolution()
Indicates if the image resolution should be displayed in TOC. |
void |
setCompression(String pCompression)
The transmission compression. |
void |
setCompressionQuality(int pQuality)
The transmission compression quality. |
void |
setRendererByRef(IRasterRenderer ppRenderer)
The assoicated raster renderer. |
void |
setShowResolution(boolean pShowResolution)
Indicates if the image resolution should be displayed in TOC. |
void |
setVisibleExtent(IEnvelope ppExtent)
The Visible extent of the layer in the data frame. |
Methods inherited from interface com.esri.arcgis.carto.ILayer |
---|
draw, getAreaOfInterest, getMaximumScale, getMinimumScale, getName, getSupportedDrawPhases, getTipText, isCached, isShowTips, isValid, isVisible, setCached, setMaximumScale, setMinimumScale, setName, setShowTips, setSpatialReferenceByRef, setVisible |
Method Detail |
---|
void initialize(String serviceURL) throws IOException, AutomationException
serviceURL
- The serviceURL (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getServiceURL() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getDataSource() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageServiceInfo getServiceInfo() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isShowResolution() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowResolution(boolean pShowResolution) throws IOException, AutomationException
pShowResolution
- The pShowResolution (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getDataFrameExtent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setVisibleExtent(IEnvelope ppExtent) throws IOException, AutomationException
ppExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnvelope getVisibleExtent() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getCompression() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCompression(String pCompression) throws IOException, AutomationException
Support LZ77 and JPEG compressions. The string can be "LZ77", "JPEG", or "NONE" (no compression)
pCompression
- The pCompression (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCompressionQuality() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCompressionQuality(int pQuality) throws IOException, AutomationException
pQuality
- The pQuality (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRaster getRaster() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRasterRenderer getRenderer() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRendererByRef(IRasterRenderer ppRenderer) throws IOException, AutomationException
ppRenderer
- A reference to a com.esri.arcgis.carto.IRasterRenderer (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 |