ObjectType method
The ObjectType method returns a numeric
value that indicates the object type.
Syntax
- VBScript
oDCO.ObjectType as Long- C#
int ObjectType()
Arguments
None.Returns
A value that indicates the object type (0=batch, 1=document, 2=page, 3=field, 4=character).Applies to
All objectsExample
- VBScript
If oDCO.ObjectType <> 2 Then msgbox "The object is not a page!" End if