Ratio Property

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.2.3892.0

Syntax

C#

public double Ratio { get; set; }

Visual Basic

Public Property Ratio As Double
	Get
	Set

Visual C++

public:
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