Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.FileSetSize

TElCustomFileSystemAdapter     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Sets the size of the specified file.

Declaration

[C#/Java]
    void FileSetSize(Object FileHandle, long NewSize);

[VB.NET]
    Sub FileSetSize(ByVal FileHandle As Object, ByVal NewSize As Long)

[Pascal]
    procedure FileSetSize(FileHandle : TObject; NewSize : Int64); virtual; abstract;

[C++]
    void FileSetSize(TObject &FileHandle, int64_t NewSize);
    void FileSetSize(TObject *FileHandle, int64_t NewSize);

[PHP]
    void FileSetSize(TObject $FileHandle, integer $NewSize)

Parameters

  • FileHandle - system handle of the file which size needs to be changed.
  • NewSize - new size of the file in bytes.

Description

    Use this method to change the size of the specified file.

See also:     FileGetSize    

Discuss this help topic in SecureBlackbox Forum