DCOSetupNode methods
You can use DCOSetupNode methods to add or delete rules and variables. You can also use these methods to obtain and modify metadata, including names, number attributes, object types, and values. You might use these methods when the business requirements of your organization change and require different rules and variables.
- AddRule method
The AddRule method adds a document integrity rule to a SetupNode object. For example, you can use this method to add a rule that specifies that a document type must contain a specific page type. - AddVariable method
The AddVariable method adds a variable to a SetupNode object and assigns a default value. - DeleteRule method
The DeleteRule method deletes the specified document integrity rule from a SetupNode object. - DeleteVariable method
The DeleteVariable method deletes the specified variable that is referenced by an index, from a setup node. - DeleteVariableByName method
The DeleteVariableByName method deletes the specified variable that is referenced by name from a setup node. - FindRule method
The FindRule method uses a specified name to search for a SetupNode child object. - get_RuleChildName method
The get_RuleChildName method gets the name of the rule under the current SetupNode object. - get_RuleMaxNumber Method
The get_RuleMaxNumber method gets the maximum number of child objects of the specified type that can be associated with the parent object without violating a document integrity rule. - get_RuleMinNumber method
The get_RuleMinNumber method gets the minimum number of child objects of the specified type that must be associated with the parent object to avoid violating a document integrity rule. - get_RuleObjectType method
The get_RuleObjectType method gets the type of an object. - get_RulePosition method
The get_RulePosition method gets the pos attribute of a specified rule within a SetupNode object. The pos attribute determines the position of an object type relative to other objects of the same type within the parent node. You can use this method to verify the order of pages in a document and ensure document integrity. - get_Variable method
The get_Variable method gets the value of a variable from the SetupNode object. You can use this method to identify objects (for example, pages) that require special processing when a variable contains a specific value. - get_VariableName method
The get_VariableName method gets the name of an indexed variable from the SetupNode object. You can use this method to identify objects (for example, pages) that require special processing when a variable contains a specific value. This method is useful when a node contains many child objects and variables. - get_VariableValue Method
The get_VariableValue method gets the value of an indexed variable from the SetupNode object. You can use this method to identify objects (for example, pages) that require special processing when a variable contains a specific value. This method is useful when a node contains many child objects and variables. - GetRule method
The GetRule method gets the SetupNode object that is referenced by a specified rule. You can use this method to identify objects (for example, pages) that require special processing when a node contains many child objects and rules. - NumOfRules method
The NumOfRules method returns the number of rules that is within a SetupNode object. - NumOfVariables Method
The NumOfVariables method returns the number of variables that is within a SetupNode object. - set_RuleChildName
The set_RuleChildName method sets the name of the rule under the current SetupNode object. - set_RuleMaxNumber
The set_RuleMaxNumber method sets the maximum number of child objects of the specified type that can be associated with the parent object without violating a document integrity rule. - set_RuleMinNumber
The set_RuleMinNumber method sets the minimum number of child objects of the specified type that must be associated with the parent object to avoid violating a document integrity rule. - set_RuleObjectType
The set_RuleObjectType method sets the type of an object. - set_RulePosition
The set_RulePosition method sets the pos attribute of a specified rule within a SetupNode object. The pos attribute determines the position of an object type relative to other objects of the same type within the parent node. You can use this method to determine the order of pages in a document and ensure document integrity. - set_Variable
The set_Variable method sets the value of a variable from the SetupNode object. You can use this method to determine which objects (for example, pages) require special processing when a variable contains a specific value. - set_VariableName
The set_VariableName method sets the name of an indexed variable within a SetupNode object. You can use this method to identify variables within a node that contains many child objects. - set_VariableValue
The set_VariableValue method sets the value of an indexed variable from the SetupNode object. You can use this method to identify objects (for example, pages) when a node contains many child objects and variables.
Parent topic: DCOSetupNode APIs