DCOSetup methods
DCOSetup methods enable access to DCO nodes and dictionaries. You can use DCOSetup methods to obtain and modify metadata, including names, values, terms, and quantities. You can also use these methods to create or delete nodes.
- AddNode method
The AddNode method adds a node to the Setup DCO object at the end of the section for the type specified (batch, document, page, field, character). - DeleteNode method
The DeleteNode method reads the value of the nIndex argument and deletes the corresponding node from the Setup DCO. - DeleteNodeByName Method
The DeleteNodeByName method deletes a node from the Setup DCO by referencing the node's name. - get_DictionaryName method
The get_DictionaryName method gets the name of a dictionary from the Setup DCO. - get_Value method
The get_Value method gets the key value of a term in a dictionary from the Setup DCO. - get_Word method
The get_Word method gets the word value from a dictionary term. - GetNode method
The GetNode method gets an interface to a SetupNode object in the Setup DCO by using an index value. You can use this method when you know the position of the object but not the name. - GetNodeByName method
The GetNodeByName method accesses a SetupNode object from the Setup DCO by using the object name. - NumOfDictionaries method
The NumOfDictionaries method returns the number of dictionaries that are defined in the Setup DCO. - NumOfNodes method
The NumOfNodes method gets the number of documents, pages, fields, or character nodes in the Setup DCO. - NumOfWords
The NumOfWords method returns the number of words that are defined in the dictionary in the Setup DCO. - ReadLock
The ReadLock method locks, and prevents other applications from writing to, the specified Setup DCO file. - ReadSetup
This method is identical to DCO.ReadSetup, except that you call it from a DCOSetup object. - set_DictionaryName method
The set_DictionaryName method sets the name of a dictionary within the Setup DCO. - set_Value method
The set_Value method sets the key value in a dictionary term. - set_Word method
The set_Word method sets the word value in a dictionary term. - ShowSetupDialog
The ShowSetupDialog method is identical to DCO.ShowSetupDialog, except that you call it from a DCOSetup object. - UnlockIt
The Unlockit method unlocks the Setup DCO file that was locked previously with the ReadLock method. - WriteSetup method
The WriteSetup method is identical to DCO.WriteSetup, except that you call it from a DCOSetup object.
Parent topic: DCOSetup API