Add | 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. |
BuildColortable | Rebuild Color Table using the current colors. retuns the |
DiscardChanges | 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. |
GetColorTableColor | Returns the color specified by the colorIndex parameter from the template's color table. |
IsAllowed | 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. |
Item | This method returns a specified color object from the color table based on the UID1 and UID2 parameters entered. |
SaveChanges | 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. |
UsedColor | 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. |
Application | This property represents the read-only PC-DMIS Application object. The Application object includes properties and methods that return top-level objects. |
Background | This property returns or sets the Background color for the report template's color tree. |
Count | This property returns the number of color nodes (Color objects) defined in the Colors collection (or color tree). |
DimensionBackground | This property returns or sets the dimension background color for the template's color tree. |
HighLightBackground | This property returns or sets the highlight background color for the template's color tree. |
Modified | This property returns or sets the report template's "modified" tag for its color tree. |
NumTableColors | This property returns the number of colors defined in the report template's color table. |
Parent | This returns this object's parent object. In this case, this is the ReportTemplate object. |