com.esri.arcgis.location
Interface IHatchLayerExtension

All Superinterfaces:
Serializable
All Known Implementing Classes:
HatchLayerExtension

public interface IHatchLayerExtension
extends Serializable

Provides access to the hatch layer extension properties.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void addClass(String name, IHatchClass hatchClass)
          Adds a class to the hatch extension.
 void convertToGraphics(IFeatureLayer pFLayer, IGraphicsLayer pGraphicsLayer, IDisplay pDisplay)
          Converts hatches to graphics.
 IHatchClass hatchClass(String name)
          The hatch class at the specified index.
 int hatchClassCount()
          The number of hatch classes.
 Object hatchClassNames()
          String array of class names.
 boolean isShowHatches()
          Indicates whether to show hatches.
 void removeAll()
          Removes all classes from the hatch extension.
 void removeClass(String name)
          Removes a class from the hatch extension.
 void setShowHatches(boolean pshowHatches)
          Indicates whether to show hatches.
 

Method Detail

setShowHatches

void setShowHatches(boolean pshowHatches)
                    throws IOException,
                           AutomationException
Indicates whether to show hatches.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pshowHatches - The pshowHatches (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isShowHatches

boolean isShowHatches()
                      throws IOException,
                             AutomationException
Indicates whether to show hatches.

Remarks

The ShowHatches property (as boolean) indicates whether to show hatches.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The pshowHatches
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hatchClassCount

int hatchClassCount()
                    throws IOException,
                           AutomationException
The number of hatch classes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The hatchClassCount
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hatchClass

IHatchClass hatchClass(String name)
                       throws IOException,
                              AutomationException
The hatch class at the specified index.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.location.IHatchClass
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addClass

void addClass(String name,
              IHatchClass hatchClass)
              throws IOException,
                     AutomationException
Adds a class to the hatch extension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
hatchClass - A reference to a com.esri.arcgis.location.IHatchClass (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hatchClassNames

Object hatchClassNames()
                       throws IOException,
                              AutomationException
String array of class names.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeClass

void removeClass(String name)
                 throws IOException,
                        AutomationException
Removes a class from the hatch extension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all classes from the hatch extension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertToGraphics

void convertToGraphics(IFeatureLayer pFLayer,
                       IGraphicsLayer pGraphicsLayer,
                       IDisplay pDisplay)
                       throws IOException,
                              AutomationException
Converts hatches to graphics.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pFLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
pGraphicsLayer - A reference to a com.esri.arcgis.carto.IGraphicsLayer (in)
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.