SetupObject method
The SetupObject method returns the Setup object that is associated with the current batch-level runtime DCO object. You can use this method when a batch contains unidentified pages and you need to modify the runtime batch hierarchy.
Syntax
- VBScript
oDCO.SetupObject as Object- C#
TDCOLib.DCOSetup SetupObject()
Applies to
Batch objects only.
Arguments
None.
Returns
The setup object.
C# example
This example populates the batch level Setup and SetupNode objects from the Setup DCO file and points m_oDCOSetup to the Setup object:
m_oDCO.ReadSetup("C:\\Datacap\\APT\\dco_APT\\APT.XML");
TDCOLib.DCOSetup m_oDCOSetup = m_oDCO.SetupObject();
For a complete example, see ReadSetup.