Share

LabelStyleCollection Class

A collection of LabelStyle objects.

Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      TreeOidWrapper
        Autodesk.Civil.DatabaseServicesTreeNodeCollectionBase
          Autodesk.Civil.DatabaseServices.StylesStyleCollectionBase
            Autodesk.Civil.DatabaseServices.StylesLabelStyleCollection


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

Syntax

C#

public class LabelStyleCollection : StyleCollectionBase

VB

Public Class LabelStyleCollection
	Inherits StyleCollectionBase

C++

public ref class LabelStyleCollection : public StyleCollectionBase

The LabelStyleCollection type exposes the following members.

Properties

 NameDescription
Public propertyCount Gets the number of objects in the collection.
(Inherited from TreeNodeCollectionBase)
Public propertyDefaultLabelStyle Gets the default values of label styles.
Public propertyExpressions 
Public propertyItemInt32
(Inherited from StyleCollectionBase)
Public propertyItemString
(Inherited from StyleCollectionBase)

Methods

 NameDescription
Public methodAdd
(Overrides StyleCollectionBaseAdd(String))
Public methodContains(ObjectId) Determines whether an element specified by ObjectId is in the collection.
(Inherited from TreeNodeCollectionBase)
Public methodContains(String) Determines whether an element is in the collection by its name.
(Inherited from TreeNodeCollectionBase)
Public methodGetEnumerator Implements the method declared in the IEnumerable<T> interface. This method returns an enumerator for this collection.
(Inherited from TreeNodeCollectionBase)
Public methodGetObjectEnumerator Implements the method declared in the IEnumerable interface. This method returns an enumerator for this collection.
(Inherited from TreeNodeCollectionBase)
Public methodRemove(Int32) Removes a label style by index from the collection.
(Overrides StyleCollectionBaseRemove(Int32))
Public methodRemove(String) Removes a label style by name from the collection.
(Overrides StyleCollectionBaseRemove(String))
Public methodRemove(StyleBase)Obsolete.
Removes a style by Object from the collection.
(Inherited from StyleCollectionBase)
Public methodToObjectIds Gets the objectId collection of all objects in this collection.
(Inherited from TreeNodeCollectionBase)

See Also

Reference

Was this information helpful?