You are here: C++ Support Classes > dtSearch Namespace > Classes > DFile Class > DFile::setLength Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DFile::setLength Method

Set the length of the file (this can be used to truncate a file)

Syntax
C++
int setLength(DFilePosition len);
Copyright (c) 1995-2020 dtSearch Corp. All rights reserved.