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_plot3d
Class:TPlot3D
Declaration:procedure PrintIt (ScaleF: double; BlkWhite, IncludeFrame: boolean);

The method PrintIt provides a way to create a high resolution 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 magnification factor of the printout. A factor of 1.0 creates an output which has roughly the size of the screen image. If the parameter BlkWhite is set to TRUE, the colors of the 3D plot are suppressed, printing it black and white. This is normally the best way to proceed with B&W printers. The parameter IncludeFrame determines whether the frame of the component is included in the printout.

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 graphics on one page, the procedure CopyToOpenPrinter should be used.


Last Update: 2023-Dec-13