LabelStyle Class

The master label style class, containing feature-specific label styles and associated information such as derived styles.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      RXObject
        Drawable
          DBObject
            Autodesk.Civil.DatabaseServicesDBObject
              Autodesk.Civil.DatabaseServices.StylesStyleBase
                Autodesk.Civil.DatabaseServices.StylesLabelStyle

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public sealed class LabelStyle : StyleBase

The LabelStyle type exposes the following members.

Properties
 NameDescription
Public propertyApplication Gets the Application associated with the DBObject. Not implemented.
(Inherited from DBObject)
Public propertyChildrenCount Gets the number of child label style under the current labelstyle node.
Public propertyCreateByGets or Sets the "Created by" string for the style.
(Inherited from StyleBase)
Public propertyDateCreatedGets the "Date created" string for the style.
(Inherited from StyleBase)
Public propertyDateModifiedGets the "Date modified" string for the style.
(Inherited from StyleBase)
Public propertyDescription Gets or sets the description.
(Inherited from DBObject)
Public propertyDocument Gets the Document associated with the DBObject. Not implemented.
(Inherited from DBObject)
Public propertyIsUsed Gets whether the style is used by other objects in the current drawing.
(Inherited from DBObject)
Public propertyItemInt32 
Public propertyItemString 
Public propertyModifiedByGets the "Modified by" string for the style.
(Inherited from StyleBase)
Public propertyNameSets the "Name" string for the style.
(Inherited from StyleBase)
Public propertyParentLabelStyleId Gets the object id of parent lable style .
Public propertyProperties Gets the leader related properties of the default label style settings.
Top
Methods
 NameDescription
Public methodAddChild Add a new child label style to the current label style's node with the default setings' value.
Public methodAddComponent Add a valid component into the label style.
Public methodAddReferenceTextComponent Add ReferenceText component into the label style.
Public methodAddTextForEachComponent Add TextForEach component into the label style.
Public methodCopyAsSibling Copy the current style and add it to the parent node as a sibling.
(Inherited from StyleBase)
Public methodExportTo(Database, StyleConflictResolverType) Exports the current style to another drawing.
(Inherited from StyleBase)
Public methodGetComponents Gets the objectId collection of label style components that specify the appearance and behavior of labels.
Public methodGetComponentsCount The number of all components.
Public methodGetComponentsCount(LabelStyleComponentType) The number of a specific type of component.
Public methodGetComponentsDrawOrder Gets the supported components in draw order, component at the end(as UI list on the top) is drawn last.
Public methodIsSupportedComponent Gets an bool value specifies whether the component type is supported in this label style.
Public methodRemoveAllDescendants Removes all the descendants under the current labelstyle node.
Public methodRemoveChild(Int32) Removes a child label style by index from the current labelstyle node.
Public methodRemoveChild(String) Removes a child label style by name from the current labelstyle node.
Public methodRemoveComponent Remove a component from the label style.
Public methodSetComponentsDrawOrder Sets the supported components' draw order.
Public methodSwitchComponentsDrawOrder Switch the supported components' draw order by index.
Top
See Also