User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.calculatepixelsize_double

Table of Contents

TGIS_LayerPixel.calculatePixelsize method

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

Calculate pixel size in layer units.

Available also on: .NET | Java.

Syntax

// Delphi
protected
  function calculatePixelsize(
    const _pixelsize : Double
  ) : Double;
// C++ Builder
protected:
  double calculatePixelsize(
    const double _pixelsize
  );

Parameters

Name Type Description
_pixelsize Double requested size of an image pixel; by providing 0 an actual viewer scale should be used to calculate a layer's pixel size; >0 - pixel size is expressed in map units; <0 - pixels is expressed in layer units

Result

Type Description
Double pixel size in layer units

Remarks

To be used in LocateEx() calculations.

2020/06/28 01:08

Page Tools