Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
Overview 
PCDLRN ActiveX DLL : Colors Collection
Colors Collection Members
Public Methods

This method creates a new color node associated with the specified Command Type ID or Color Section ID, returning a Color object for the added node. Once you add a node, you can then define the colors used for the Standard, Marked, Debug, and OutTol. 

Rebuild Color Table using the current colors. retuns the
All changes made to the Colors collection are done inside a temporary structure. To restore the saved values and overwrite any changes you made in the temporary structure, use this method.
Returns the color specified by the colorIndex parameter from the template's color table.

This checks whether or not the specified Command Type or Color Section ID is valid in the current PC-DMIS configuration. If it is valid, it returns TRUE.

This method returns a specified color object from the color table based on the UID1 and UID2 parameters entered.

All changes made to the Colors collection are done inside a temporary structure. This copies the changes made inside this temporary structure to the master colors structure, essentially saving your changes, making them permanent.

This returns the color currently associated with the defined Command Type ID or Color Section ID. If a color is not defined for a feature type, the parent color is recursively searched until the default color is reached.

Public Properties
This property represents the read-only PC-DMIS Application object. The Application object includes properties and methods that return top-level objects.
This property returns or sets the Background color for the report template's color tree.
This property returns the number of color nodes (Color objects) defined in the Colors collection (or color tree).
This property returns or sets the dimension background color for the template's color tree.
This property returns or sets the highlight background color for the template's color tree.
This property returns or sets the report template's "modified" tag for its color tree.
This property returns the number of colors defined in the report template's color table.
This returns this object's parent object. In this case, this is the ReportTemplate object.
See Also