|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IT > ITemplate Interface > ITemplate.GetPatternElement Method (ArcObjects .NET 10.4 SDK) | 
Gets pattern element properties for a given index.
[Visual Basic .NET] Public Sub GetPatternElement ( _ ByVal index As Integer, _ ByRef mark As Double, _ ByRef Gap As Double _ )
[C#] public void GetPatternElement ( int index, ref double mark, ref double Gap );
[C++]
HRESULT GetPatternElement(
  long index,
  double* mark,
  double* Gap
);
[C++]
Parameters index [in] index is a parameter of type long mark [out] mark is a parameter of type double Gap [out] Gap is a parameter of type double