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.

Description

Important: .NET only. For VBScript, use the RulePosition property instead.
For more information, see get_RulePosition.

Syntax

C#
void set_RulePosition(int nIndex, int pVal)

Arguments

nIndex
The index of the rule, where 0 is the first rule under this SetupNode object.
pVal
The position of the rule.