Label.StyleName Property

Gets or sets the label style name.



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

Syntax

C#

public override string StyleName { get; set; }

VB

Public Overrides Property StyleName As String
	Get
	Set

C++

public:
virtual property String^ StyleName {
	String^ get () override;
	void set (String^ value) override;
}

Property Value

String

Exceptions

ExceptionCondition
ArgumentException Thrown when input style name doesn't exist under the corresponding label style collection.

Remarks

It only searches direct child label styles of the corresponding label style collection and does not include deeper descendant levels.

See Also

Reference

Label Class
Autodesk.Civil.DatabaseServices Namespace