User Tools

Site Tools


api:dk11:delphi:gisinternals.checkfilewriteaccess_string

Table of Contents

CheckFileWriteAccess method

DK11 for Delphi | GisInternals.CheckFileWriteAccess | Enums | Fields | Methods | Types

Check if file can be written: directory is proper,file is not read-only and is not used by any other application.

Syntax

// Delphi
function CheckFileWriteAccess(
  const _path : String
) : Boolean;
// C++ Builder
extern DELPHI_PACKAGE bool CheckFileWriteAccess(
  const UnicodeString _path
);

Parameters

Name Type Description
_path String path to be checked

Result

Type Description
Boolean True if file can be written.
2017/09/04 11:15