Share

PointGroup.PointLabelStyleId Property

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: 13.8.0.280

Syntax

C#

public ObjectId PointLabelStyleId { get; set; }

VB

Public Property PointLabelStyleId As ObjectId
	Get
	Set

C++

public:
property ObjectId PointLabelStyleId {
	ObjectId get ();
	void set (ObjectId value);
}

Property Value

ObjectId

Exceptions

ExceptionCondition
Thrown when the ObjectId is not a LabelStyle object.

Remarks

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

Example

C#

1ObjectId pointLabelStyleId = pointGroup.PointLabelStyleId;
2LabelStyle pointLabelStyle = pointLabelStyleId.GetObject(OpenMode.ForRead) as LabelStyle;
3write("Point Label style for PointGroup: " + pointLabelStyle.Name + "\n");

VB

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)

See Also

Reference

Was this information helpful?