DK for Delphi | GisInterfaces.IGIS_Viewer.ScaleAsFloat | Methods | Properties
Sets and gets the scale factor.
// Delphi public property ScaleAsFloat : Double read write;
// C++ Builder public: __property double ScaleAsFloat = {read, write};
| Type |
|---|
| Double |
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 unitsBe sure to set up the coordinate system properly.