User Tools

Site Tools


api:dk11:delphi:gislayervectorsql.tgis_layervectorsqlabstract.initializedirectwrite_string_tgis_extent_tgis_shapetype_tgis_dimensiontype

Table of Contents

TGIS_LayerVectorSqlAbstract.InitializeDirectWrite method

DK11 for Delphi | GisLayerVectorSql.TGIS_LayerVectorSqlAbstract.InitializeDirectWrite | Constructors | Fields | Methods | Properties | Events

Build new layer - prepare storage for direct writing.

Available also on: .NET | Java.

Overrides TGIS_LayerVector.InitializeDirectWrite.

Syntax

// Delphi
public
  procedure InitializeDirectWrite(
    const _path : String;
    const _extent : TGIS_Extent;
    const _type : TGIS_ShapeType;
    const _dim : TGIS_DimensionType
  ); override;
// C++ Builder
public:
  virtual void InitializeDirectWrite(
    const UnicodeString _path,
    TGIS_Extent* const _extent,
    TGIS_ShapeType* const _type,
    TGIS_DimensionType* const _dim
  );

Parameters

Name Type Description
_path String full path of layer to be built; a connection string for SQL base shapes;
_extent TGIS_Extent starting extent of layer - can't be zero sized
_type TGIS_ShapeType shape type supported by a layer
_dim TGIS_DimensionType dimension; for default layer dimension use TGIS_DimensionType.Unknown

Remarks

Use this method to build a new layer (prepare storage) for direct write.

2017/09/04 11:17