User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.build_boolean_tgis_cscoordinatesystem_tgis_extent_integer_integer

Table of Contents

TGIS_LayerPixel.Build(Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Integer; Integer) 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 _width : Integer;
    const _height : Integer
  ); overload; virtual;
// C++ Builder
public:
  virtual void Build(
    const bool _grid,
    TGIS_CSCoordinateSystem* const _cs,
    TGIS_Extent* const _ext,
    const int _width,
    const int _height
  ) /* 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)
_width Integer width in pixels
_height Integer height in pixels; if 0 then is calculated according to _width and proportions of _ext

Remarks

To create file based layer - see method overloads.

References

2020/05/07 01:08

Page Tools