This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IH > IHatchTemplate Interface > IHatchTemplate.RemoveHatchDefinition Method (ArcObjects .NET 10.5 SDK) |
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
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.