WorkSiteCopyDocument Method (String, Int32, Int32, WorkSitePathCreationOption)Mocom WorkSite Library API
Save a copy of a specified version of a WorkSite document to a specified path.

Namespace: Mocom_WorkSite_Library
Assembly: Mocom WorkSite Library (in Mocom WorkSite Library.dll) Version: 1.0.8.0 (1.0.8)
Syntax

public string CopyDocument(
	string path,
	int documentNumber,
	int documentVer,
	WorkSitePathCreationOption option
)

Parameters

path
Type: SystemString
The folder path (without filename) to copy the document to.
documentNumber
Type: SystemInt32
The document number of the file you want to copy.
documentVer
Type: SystemInt32
The version number of the file to be copied.
option
Type: Mocom_WorkSite_LibraryWorkSitePathCreationOption
Specify the PathCreationOption to

Return Value

Type: String
The full path and filename of the copied document.
See Also

Reference