Share

GeneralSegmentLabel.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.8.0.280

Syntax

C#

public virtual double Ratio { get; set; }

VB

Public Overridable Property Ratio As Double
	Get
	Set

C++

public:
virtual property double Ratio {
	double get ();
	void set (double value);
}

Property Value

Double

Exceptions

ExceptionCondition
ArgumentException Thrown when Ratio is an invalid 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].

See Also

Reference

Was this information helpful?