User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.scaleasfloat

Table of Contents

IGIS_Viewer.ScaleAsFloat property

DK for Delphi | GisInterfaces.IGIS_Viewer.ScaleAsFloat | Methods | Properties

Sets and gets the scale factor.

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

Syntax

// Delphi
public
  property ScaleAsFloat : Double read write;
// C++ Builder
public:
  __property double ScaleAsFloat = {read, write};

Value

Type
Double

Remarks

USAGE: Get/set map scale factor. Value is map units per screen pixel. Smaller = zoomed in, larger = zoomed out.

gis.ScaleAsFloat = 1.5
# Each screen pixel represents 1.5 map units
Be sure to set up the coordinate system properly.

2026/09/20 23:47

Page Tools