SetDCOType
Assigns a value to the Type property of the current object of the Document Hierarchy.
Syntax
bool SetDCOType (StrParam)
Parameters
A String value you're assigning to the current object's Type property.Returns
Always True.Level
All.Details
Assigns a value to the Type property of the current object of the Document Hierarchy.- Example:
ChkLastDCOType(Separator) SetDCOType(Invoice)This sequence checks to see if the previous object of the Invoices application's Document Hierarchy was a Page object - in this case, a Separator page. If so, it sets Invoice as the Type property of the current object.