The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Magnification


Unit:SDL_geomap
Class:TGeoMap
Declaration:property Magnification: double;

The property Magnification controls the magnification of the scanned map. It may assume values between MINMAGNIFY and MAXMAGNIFY. A magnification of 1.0 displays the scanned image unaltered.

Hint 1: By default, the scaling of the map is performed by calculating average colors, both for reduced and enlarged maps. This technique ensures significantly better visual results, though it is a bit slower. In order to switch off this visual map enhancement, you have to set the property AntiAlias to FALSE.

Hint 2: In the Light Edition the magnification factor is restricted to values between 0.5 and 2.0

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): simplegeomap



Last Update: 2012-Oct-20