com.esri.arcgis.networkanalysis
Interface IEdgeFlagDisplay

All Superinterfaces:
Serializable
All Known Implementing Classes:
EdgeFlagDisplay

public interface IEdgeFlagDisplay
extends Serializable

Provides access to members that return and set the properties that are specific to edge flags.

When To Use

Use the IEdgeFlagDisplay interface to specify how far along an edge feature the edge flag is located. The value can be a number between 0 and 1. A value of 0 means the flag will be located close to the FROM junction of an edge. A value of 1 means it will be located close to the TO junction of an edge.

Product Availability

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

See Also:
IJunctionFlagDisplay, IEdgeFlagDisplay, IFlagDisplay, com.esri.arcgis.editorext.INetworkAnalysisExtFlags

Method Summary
 double getPercentage()
          Position of the flag along the edge element.
 void setPercentage(double percentage)
          Position of the flag along the edge element.
 

Method Detail

getPercentage

double getPercentage()
                     throws IOException,
                            AutomationException
Position of the flag along the edge element.

Remarks

The Percentage property specifies the percentage along the feature, measured from the start node of the feature's geometry, at which the flag is located.
The percentage can be a value between 0 and 1.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The percentage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPercentage

void setPercentage(double percentage)
                   throws IOException,
                          AutomationException
Position of the flag along the edge element.

Remarks

The Percentage property specifies the percentage along the feature, measured from the start node of the feature's geometry, at which the flag is located.
The percentage can be a value between 0 and 1.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
percentage - The percentage (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.