User Tools

Site Tools


api:dk11:delphi:gisinternals.getpathabsolute_string_string

Table of Contents

GetPathAbsolute method

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

Returns a path given by _path but absolute (based on relative directory given by _dir.). Path recognized as URL and path with CE delimited strings will not be altered.

Syntax

// Delphi
function GetPathAbsolute(
  const _dir : String;
  const _path : String
) : String;
// C++ Builder
extern DELPHI_PACKAGE UnicodeString GetPathAbsolute(
  const UnicodeString _dir,
  const UnicodeString _path
);

Parameters

Name Type Description
_dir String reference directory; if empty then path will be calculated relative to the current directory
_path String given path

Result

Type Description
String Path given by _path but absolute (based on relative directory given by _dir.).

Remarks

Function expands any embedded aliases (see GisAliasList)

2019/02/08 01:13