User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.build_string_boolean_tgis_cscoordinatesystem_tgis_extent_integer_integer_tgis_layerpixelsubformat

Table of Contents

TGIS_LayerPixel.Build(String; Boolean; TGIS_CSCoordinateSystem; TGIS_Extent; Integer; Integer; TGIS_LayerPixelSubFormat) method

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

Builds a layer.

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

Syntax

// Delphi
public
  procedure Build(
    const _path : String;
    const _grid : Boolean;
    const _cs : TGIS_CSCoordinateSystem;
    const _ext : TGIS_Extent;
    const _width : Integer;
    const _height : Integer;
    const _subformat : TGIS_LayerPixelSubFormat
  ); overload; virtual;
// C++ Builder
public:
  virtual void Build(
    const UnicodeString _path,
    const bool _grid,
    TGIS_CSCoordinateSystem* const _cs,
    TGIS_Extent* const _ext,
    const int _width,
    const int _height,
    TGIS_LayerPixelSubFormat* const _subformat
  ) /* overload */;

Parameters

Name Type Description
_path String path to a layer; if empty then layer in-memory
_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
_subformat TGIS_LayerPixelSubFormat details specification of layer format like compression etc.

References

2023/02/24 20:35

Page Tools