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



CopyToWMF


Unit:SDL_rot3d
Class:TRot3D
Declaration:procedure CopyToWMF (FName: string; IncludeFrame: boolean);

The method CopyToWMF creates a Windows metafile file using the file specification FName. The meta file contains the whole chart display. The file extension is automatically set to '.WMF ' regardless of the extension in the parameter FName. The parameter IncludeFrame controls whether the frame of the component is shown.

Hint: Any text (as used e.g. with the MarkAt method) can be correctly displayed in metafiles only if the font selected by the Font property of Rot3D is fully scalable. "Arial" would be a good choice.

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