User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.build_boolean_tgis_cscoordinatesystem_tgis_extent_double

Table of Contents

TGIS_LayerPixel.Build(Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Double) method

DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.Build | Overloads | Constructors | Fields | Methods | Properties | Events

Builds an in-memory layer.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure Build(
    const _grid : Boolean;
    const _cs : TGIS_CSCoordinateSystem;
    const _ext : TGIS_Extent;
    const _pixelsize : Double
  ); overload; virtual;
// C++ Builder
public:
  virtual void Build(
    const bool _grid,
    TGIS_CSCoordinateSystem* const _cs,
    TGIS_Extent* const _ext,
    const double _pixelsize
  ) /* overload */;

Parameters

Name Type Description
_grid Boolean if true then layer will be treated as grid a image layer will be created otherwise
_cs TGIS_CSCoordinateSystem Coordinate system of the layer
_ext TGIS_Extent extent of the layer expresses in Coordinate System units (_cs)
_pixelsize Double pixel layer resolution in Coordinate System units

Remarks

Layer's extent might be little expanded to ensure exact _pixelsize. To create file based layer - see method overloads.

References

2020/05/07 01:08

Page Tools