Gets or sets the ratio that determines the relative position of the GeneralSegmentLabel on the feature.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public virtual double Ratio { get; set; }
Visual Basic
Public Overridable Property Ratio As Double
	Get
	Set
Visual C++
public:
virtual property double Ratio {
	double get ();
	void set (double value);
}

Remarks

  • For Line and Arc objects, the ratio should be in the range of [0, 1].
  • For Polyline and FeatureLine obects with n segments, the ratio should be in the range of [0, n].

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when Ratio is an invalid value.

See Also