Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.FileSetSize

TElCustomFileSystemAdapter     See also     


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


Sets the size of the specified file.

Declaration

[C#]
    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)

[Java]
    void fileSetSize(TObject arg0, long arg1);

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