CopyDataFromDCObject( DCObject as Object) As Integer

Field object

The information in DCObject is copied to the Field object. The information includes:

The type of information differs slightly depending on what type of field and what type of Document Content object is passed as the parameter to this method.

These are the valid combinations of Field and Document Content objects:

Field type

Document Content Object

Character field

DocWord

Character field

DocBox

Data field

DocWord

Data field

DocBox

Syntax

Object.CopyDataFromDCObject( DCObject )

Type

Data type

Description

Object

Field

 

DCObject

DocWord or DocBox

To obtain a DocWord or DocBox object, use the FindAllObjects()or FindObjects() method, followed by an Interpret method and a Get method on the DocContent object.

Return value

Integer

The Field object