TemplatePackage AddFile Method (String)
Add a file to the package. This function uses the filepath of the path as the internal name.

Namespace: HotDocs.Sdk
Assembly: HotDocs.Sdk (in HotDocs.Sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public string AddFile(
	string filePath
)

Parameters

filePath
Type: OnlineSystem String
The full path of the file to be added. E.g. "D:\files\template.rtf".

Return Value

Type: OnlineString
The internal name used. E.g. "template.rtf". This name can be used to be shown to the user and can be used to extract a file again.
See Also