Specifies the point label style to be referenced by a point that is created using the description key.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.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
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
Exception | Condition |
---|
|
Thrown when the ObjectId is not a LabelStyle object.
|
See Also