Gets or sets the style name.

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

Syntax

C#
public override string StyleName { set; }
Visual Basic
Public Overrides WriteOnly Property StyleName As String
	Set
Visual C++
public:
virtual property String^ StyleName {
	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