|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapServerSublayer
Provides access to the available properties of a map server sublayer object.
Method Summary | |
---|---|
ILayerDescription |
getLayerDescription()
The layer description. |
boolean |
isHasLabels()
Indicates if the layer has labels to turn on and off. |
boolean |
isScaleSymbols()
Indicates whether the layer should scale its symbols according to the reference scale. |
boolean |
isShowLabels()
Indicates whether the layer should display its dynamic labels. |
void |
setScaleSymbols(boolean scaleSymbols)
Indicates whether the layer should scale its symbols according to the reference scale. |
void |
setShowLabels(boolean show)
Indicates whether the layer should display its dynamic labels. |
Method Detail |
---|
boolean isHasLabels() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isShowLabels() throws IOException, AutomationException
This only applies to layers where the property HasLabels on IMapServerSubLayer is TRUE. This means that the layer's labels must be "on" in the original map document.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShowLabels(boolean show) throws IOException, AutomationException
show
- The show (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isScaleSymbols() throws IOException, AutomationException
A reference scale set for a map containing a Map Server object will have no effect on Map Server layer symbology. In order for symbols to scale, the originial map document on which the Map Server object is based must have a reference scale set. The Map layer must also support symbol scaling. If both these conditions are true, use ScaleSymbols to activate or deactivate a Map Server Sublayer's symbol scaling.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setScaleSymbols(boolean scaleSymbols) throws IOException, AutomationException
scaleSymbols
- The scaleSymbols (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILayerDescription getLayerDescription() throws IOException, AutomationException
Use LayerDescription to access properties of ILayerDescription. The ID value may not match the Layer index value on ICompositeLayer or ICompositeLayer2. This is because the count on ICompositeLayer or ICompositeLayer2 does not include members of composite layers embedded within the MapServerSublayer. Only the parent layer is counted.
MapServerSubLayer does not support the ILayerDescription properties ScaleSymbols, ShowLabels and Visible. ScaleSymbols and ShowLabels can be accessed via IMapServerSubLayer. The property controlling a MapServerSubLayers visibility, Visible, can be accessed via ILayer.
The ILayerDescription properties SelectionFeatures, SelectionColor, SelectionSymbol, SetSelectionSymbol, SelectionBufferDistance and ShowSelectionBuffer can be used to select and buffer (euclidean buffer) features of a Map Server SubLayer.
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 |