The LabelStyle type exposes the following members.

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.

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 propertyCreateBy
Gets or Sets the "Created by" string for the style.
(Inherited from StyleBase.)
Public propertyDateCreated
Gets the "Date created" string for the style.
(Inherited from StyleBase.)
Public propertyDateModified
Gets 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 propertyItem[([( Int32])])
Public propertyItem[([( String])])
Public propertyModifiedBy
Gets the "Modified by" string for the style.
(Inherited from StyleBase.)
Public propertyName
Sets 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.

See Also