Gets or sets the style name.

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

Syntax

C#
public override string StyleName { get; set; }
Visual Basic
Public Overrides Property StyleName As String
	Get
	Set
Visual C++
public:
virtual property String^ StyleName {
	String^ get () override;
	void set (String^ value) override;
}

Remarks

  • The StyleName can be set to the name of a LineLabelStyle when the feature or the segment being labelled is a line.
  • The StyleName can be set to the name of a CurveLabelStyle when the feature or the segment being labelled is a curve.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when setting StyleName to an invalid value.

See Also