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

The method PrintIt provides a way to create a hardcopy on the currently selected printer. The chart is positioned on the top center of the page. 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 chart are suppressed and the chart is printed in black and white. This is normally the best way to proceed with B&W printers. The parameter IncludeFrame controls whether the frame of the component is printed.

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

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



Last Update: 2012-Oct-20