User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.scale

Table of Contents

IGIS_Viewer.Scale property

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

Sets and gets the scale factor.

Available also on: ActiveX | Python.

Syntax

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

Value

Type
Double

Remarks

Same as ScaleAsFloat.

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

old_scale = gis.Scale
gis.Scale = old_scale * 2.0
# Map zoomed out 2x
Be sure to set up the coordinate system properly.

2026/09/20 23:47

Page Tools