User Tools

Site Tools


api:dk11:delphi:gislayer.tgis_layer.prerecognize_string_string

Table of Contents

TGIS_Layer.PreRecognize method

DK11 for Delphi | GisLayer.TGIS_Layer.PreRecognize | Constructors | Fields | Methods | Properties | Events

Checks if the layer can read the file.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  function PreRecognize(
    const _path : String;
    var _new_path : String
  ) : Boolean; virtual;
// C++ Builder
public:
  virtual bool PreRecognize(
    const UnicodeString _path,
    UnicodeString &_new_path
  );

Parameters

Name Type Description
_path String file path to open
_new_path String new path extracted from the file to open

Result

Type Description
Boolean True if the layer can read the file
2022/11/16 01:18

Page Tools