User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.importlayer_tgis_layerpixel_tgis_extent_tgis_cscoordinatesystem_cardinal_cardinal_tgis_layerpixelsubformat

Table of Contents

TGIS_LayerPixel.ImportLayer(TGIS_LayerPixel; TGIS_Extent; TGIS_CSCoordinateSystem; Cardinal; Cardinal; TGIS_LayerPixelSubFormat) method

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

Imports layer from an existing pixel layer. Use this method to import a layer. To do this, simply create a new layer, choose a layer to import from and use ImportLayer method of with proper parameters.

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

Syntax

// Delphi
public
  procedure ImportLayer(
    const _layer : TGIS_LayerPixel;
    const _extent : TGIS_Extent;
    const _cs : TGIS_CSCoordinateSystem;
    const _width : Cardinal;
    const _height : Cardinal;
    const _subformat : TGIS_LayerPixelSubFormat
  ); overload; virtual;
// C++ Builder
public:
  virtual void ImportLayer(
    TGIS_LayerPixel* const _layer,
    TGIS_Extent* const _extent,
    TGIS_CSCoordinateSystem* const _cs,
    const unsigned _width,
    const unsigned _height,
    TGIS_LayerPixelSubFormat* const _subformat
  ) /* overload */;

Parameters

Name Type Description
_layer TGIS_LayerPixel layer to be exported from
_extent TGIS_Extent extent to be exported in _cs coordinate system
_cs TGIS_CSCoordinateSystem coordinate system to be exported in
_width Cardinal bit width of a layer; if 0 then _height will be used as to calculate
_height Cardinal bit height of a layer; if 0 then _width will be used as to calculate
_subformat TGIS_LayerPixelSubFormat Pixel file capabilities.

References

2022/12/02 15:43

Page Tools