RTF:Destroy() Method
<< Click to Display Table of Contents >> RTF:Destroy() Method |
![]() ![]() ![]() |
Purpose
To free the memory allocated to hold the parsed RTF text.
Syntax
<oRTF>:Destroy()
Description
This method frees the memory allocated to hold the parsed RTF text. After the memory is freed, the RTF object is invalid. It cannot be used again until another RTF stream is loaded via a RTF:LoadRTFFrom... method.
Example
// Free some memory
oRTF:Destroy()