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


ITemplate.AddPatternElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IT > ITemplate Interface > ITemplate.AddPatternElement Method
ArcGIS Developer Help

ITemplate.AddPatternElement Method

Adds a pattern element.

[Visual Basic .NET]
Public Sub AddPatternElement ( _
    ByVal mark As Double, _
    ByVal Gap As Double _
)
[C#]
public void AddPatternElement (
    double mark,
    double Gap
);
[C++]
HRESULT AddPatternElement(
  double mark,
  double Gap
);
[C++]
Parameters
mark [in]

mark is a parameter of type double Gap [in]
Gap is a parameter of type double

Product Availability

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

Description

AddPatternElement adds a new pattern element to the ITemplate object. A pattern element is a mark and a gap value. Both the mark and gap values cannot be set to 0 for the same element being added.

See Also

ITemplate Interface

.NET Samples

Dynamic biking