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....



PrintIt


Unit:SDL_geomap
Class: TGeoMap
Declaration: procedure PrintIt (ScaleF: double);

The method PrintIt provides a way to create a hardcopy on the currently selected printer. You may change the selected printer by assigning a proper value to the PrinterIndex property of the Printer object before calling PrintIt. The parameter ScaleF determines the overall magnification factor of the printout. A factor of 1.0 creates an output which has roughly the size of the screen image (assuming a monitor resolution of 80 dots per inch).

The name of the printout (in the case you print to a file) will be set to the Name property of the component.

Hint: In order to mix text and graphics, or to print several maps on one page, the procedure CopyToOpenPrinter should be used.



Last Update: 2012-Oct-20