Knowledge Base Article
KB10298 - How do I use the DK Scale property?
Use of the Scale property requires that you assign map units (such as meters, feet, nautical miles, radians, etc.) to the subject map layer.
Attach:
GIS_ViewerWND1.Units.Units := gisUnitsTypeMeter ;
and then, for example:
GIS.Scale := 1 ( means 1 meter on the screen is one meter on the map)
GIS.Scale := 1/1000000 (means map in scale of 1:1000000 )
Map units should reflect the length units used by the projection if the map reflects a geographic projection. Map units should reflect the angular units if the map is unprojected (such as the WGS84 coordinate system, with latitude/longitude coordinates in decimal/degrees).
Created: 2005-09-14, Modified: 2007-07-03
|