This document is archived and information here might be outdated.  Recommended version.


IHatchTemplate.RemoveHatchDefinition Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IH > IHatchTemplate Interface > IHatchTemplate.RemoveHatchDefinition Method
ArcGIS Developer Help

IHatchTemplate.RemoveHatchDefinition Method

Removes a hatch definition from the hatch class.

[Visual Basic .NET]
Public Sub RemoveHatchDefinition ( _
    ByVal index As Integer _
)
[C#]
public void RemoveHatchDefinition (
    int index
);
[C++]
HRESULT RemoveHatchDefinition(
  long index
);
[C++]
Parameters
index [in]

index is a parameter of type long

Product Availability

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

Remarks

The index of a hatch definition is based on it's hatch interval. It is not a zero-based index. 
For example, a hatch definition with an interval of 5 would have an index value of 5.

See Also

IHatchTemplate Interface