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

Check if layer can read the file.

Available also on: .NET | Java | ActiveX.

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 layer can read the file
2019/09/27 01:07