SetFileDirectory Method
- Namespace
TXTextControl.Web. MVC
- Package
TXTextControl.asWeb TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentEditor. dll
Description
Determines the directory path where the files of a specific file type are stored.
Syntax
public TextControl SetFileDirectory(string directory, FileType type);Public Function SetFileDirectory(directory As String, type As FileType) As TextControlParameters
| Parameter | Description |
|---|---|
| directory | Specifies the directory path where the files of a specific file type are stored. |
| type | Specifies one of the FileType values. |
Return Value
A reference to the Web.MVC.TextControl instance to allow method chaining.
Examples
The following example uses TextControl.SetFileDirectory in a document-processing workflow.
var result = textControl.SetFileDirectory("Quarterly report", TXTextControl.Web.FileType.Document);
Console.WriteLine(result);Dim result = textControl.SetFileDirectory("Quarterly report", TXTextControl.Web.FileType.Document)
Console.WriteLine(result)