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.... |
Home GeoPack GeoMap Class TGeoMap Methods CalcExtentsOfPrint | |||||||||
See also: CopyToOpenPrinter, PrintIt, IsPositionWithinMap | |||||||||
CalcExtentsOfPrint |
|||||||||
The method CalcExtentsOfPrint calculates the extents of a printout (in logical units of the currently open printer). The range of the map area to be printed is specified by the parameter MapWindow (coordinates in pixels of the map image). The parameter Scale specifies the scale of the printed map (e.g. a value of 20000 meaning a scale of 1:20000). The variable parameters Width and Height return the width and the height of the printed map (in logical printer units).
|