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


IEdgeFlag.Position Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalysis > ESRI.ArcGIS.NetworkAnalysis > Interfaces > IE > IEdgeFlag Interface > IEdgeFlag.Position Property
ArcGIS Developer Help

IEdgeFlag.Position Property

Position of the flag along the edge.

[Visual Basic .NET]
Public Property Position As Single
[C#]
public float Position {get; set;}
[C++]
HRESULT get_Position(
  System.Single* Position
);
[C++]
HRESULT put_Position(
  float Position
);
[C++]
Parameters
Position [out, retval]

Position is a parameter of type single* Position [in]
Position is a parameter of type single

Product Availability

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

Description

Testing the updates for Properties.

Remarks

When you set the position you specify the percent along the edge you want the flag to be placed from the FROM junction of the edge.
[Visual Basic .NET]
    Private Sub UpdateCombo()

        'TODO � customize this method to populate the combobox with your desired items 

        If _isInitialized Then
            SelectedItem = ItemCollection.FirstOrDefault() 'set the default item in the comboBox
        End If


        If Not _isInitialized Then
            Clear()
            'Add 6 items to the combobox
            For index = 0 To 5
                Dim name As String = String.Format("Item {0}", index)
                Add(New ComboBoxItem(name))
            Next
            _isInitialized = True
        End If

        Enabled = True 'enables the ComboBox
        SelectedItem = ItemCollection.FirstOrDefault() 'set the default item in the comboBox

    End Sub

See Also

IEdgeFlag Interface