DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.calculatePixelsize | Constructors | Fields | Methods | Properties | Events
Calculate pixel size in layer units.
// Delphi protected function calculatePixelsize( const _pixelsize : Double ) : Double;
// C++ Builder protected: double calculatePixelsize( const double _pixelsize );
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 |
Type | Description |
---|---|
Double | pixel size in layer units |
To be used in LocateEx() calculations.