AddDocFile
This method adds a file into the workdoc. File types include CIDoc, image, and raw text.
Syntax
AddDocFile (Path as String, FileType as CDRDocFileType, Assignment as CDRPageAssignment)
| Parameter | Description |
|---|---|
| FilePath | Path to the file to add. |
| FileType | File type of the specified file, such as a CIDoc or image.
Possible values See CDRDocFileType |
| Assignment | Specifies how DocPages are assigned to the workdoc.
Possible values |
Sample Code
The following sample code shows how to add a CI-PDF file to the workdoc.
pWorkdoc.AddDocFile("C:\coversheet.pdf",CDRDocFileTypeCroCIDoc,CDRPageAssignNewPage)
