Navigation: DocScript Reference > DocScript Functions >
Text Document Functions
Function
Description
[Text.GetTextFile]()
Returns the file name that will be used.
[Text.SetTextFile](filename)
Sets the file name that will be used. (Required).
Parameter(s)
filename - Typically this would be the filename of the current document {fdocname}.
[Text.Close]()
Closes the file after use. (Required).
[Text.GetAllText]()
Returns all the text in the file.
[Text.GetText](startpos, count)
Returns a portion of the text file, specifying the start position and number of characters.
startpos - The start position of the text.
count - The number of characters of the text.
[Text.TotalChars]()
Returns the total number of characters in the text file.
Copyright © 2024 Portford Solutions Group, Inc.