Deletes the specified temporary file.
public static bool DeleteTemporaryFile(
string fileName
)
public static boolean deleteTemporaryFile(
java.lang.String string
);
public:
static bool DeleteTemporaryFile(
String^ fileName
)
def DeleteTemporaryFile(self,fileName):
fileName
String containing the filename to delete.
true, if the specified temporary file was deleted; otherwise, false.
Use this method to delete temporary files created by RasterDefaults.GetTemporaryFileName.
using Leadtools;
using Leadtools.Codecs;
public static void DeleteTemporaryFile_Example()
{
String tempFile = RasterDefaults.GetTemporaryFileName();
/* do something with the temp file */
RasterDefaults.DeleteTemporaryFile(tempFile); /* Delete tempFile when you are done with it */
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document