Specifies the point label style to be referenced by a point that is created using the description key.

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

Syntax

C#
public ObjectId PointLabelStyleId { get; set; }
Visual Basic
Public Property PointLabelStyleId As ObjectId
	Get
	Set
Visual C++
public:
property ObjectId PointLabelStyleId {
	ObjectId get ();
	void set (ObjectId value);
}

Remarks

Object type is LabelStyle. ObjectId.Null is a valid value.

Examples

CopyC#
1ObjectId pointLabelStyleId = pointGroup.PointLabelStyleId;
2LabelStyle pointLabelStyle = pointLabelStyleId.GetObject(OpenMode.ForRead) as LabelStyle;
3write("Point Label style for PointGroup: " + pointLabelStyle.Name + "\n");
CopyVB.NET
1Dim pointLabelStyleId As ObjectId = pointGroup__1.PointLabelStyleId
2Dim pointLabelStyle As LabelStyle = TryCast(pointLabelStyleId.GetObject(OpenMode.ForRead), LabelStyle)
3write("Point Label style for PointGroup: " + pointLabelStyle.Name & vbLf)

Exceptions

ExceptionCondition
Thrown when the ObjectId is not a LabelStyle object.

See Also