ArcObjects Library Reference (DefenseSolutions)  

IGeoPolyline.MaxPercent Property

Maximum segment length expressed as a percentage of the total segment length.

[Visual Basic .NET]
Public Property MaxPercent As Double
[C#]
public double MaxPercent {get; set;}
[C++]
HRESULT get_MaxPercent(
  double* pdPercent
);
[C++]
HRESULT put_MaxPercent(
  double pdPercent
);
[C++]

Parameters

pdPercent [out, retval]   pdPercent is a parameter of type double pdPercent [in]   pdPercent is a parameter of type double

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Description

With the MaxPercent property, a percentage of the total distance around the polyline can be specified, and the resulting distance will be set as the maximum length for Geoline segments composing the GeoPolyline. In other words, if a value of 0.1, or 10 percent, is specified, and the distance around the polyline is 1000 meters, the segment length will be 100 meters. This is used to densify the GeoPolyline.

Remarks

If neither MaxPercent nor MaxStepSize is specified, then MaxPercent will be used and will default to a value of 0.05, or 5 percent.

See Also

IGeoPolyline Interface