Print CATPrintFile
Usage: you must use this class as is. You should never derive it.
public class CATPrintFile
Class to create a typed file for printing.
Role: If the language is not precised, the extension ".*" of the
filename is parsed.
Constructor and Destructor Index
- o
CATPrintFile(CATString&,CATString&,void*)
- Constructs a CATPrintFile.
- o
~CATPrintFile()
-
Method Index
- o
CreatePrintableImage(void)
- Creates a printable image from the file.
- o
GetLanguage(void)
- Returns the language.
- o
GetPath(void)
- Returns the path.
Constructor and Destructor
o CATPrintFile
public CATPrintFile( | const | iPath, |
| const | iLanguage, |
| const | iPrivateData | = NULL) |
-
Constructs a CATPrintFile.
- Parameters:
-
- iPath
- The path of the file.
- iLanguage
- The language of the file.
The available languages used in CATIA are:
- For Windows:
- "CGM",
- "RASTER",
- "EMF" (Windows Metafile),
- "EPS" (Generic PostScript).
- For UNIX:
- "CGM",
- "RASTER",
- "EPS" (Generic PostScript),
- "HPGL2" (Generic HP-GL/2 RTL),
- "HP1000GL2" (HP DesignJet 1000 Series),
- "OCE",
- "GBR" (Gerber).
- iPrivateData
- The possible private data to transmit.
o ~CATPrintFile
public virtual ~CATPrintFile( | ) |
-
Methods
o CreatePrintableImage
public CreatePrintableImage( | | ) |
-
Creates a printable image from the file.
- Returns:
- The printable image created.
o GetLanguage
-
Returns the language.
- Returns:
- The language of the file.
o GetPath
-
Returns the path.
- Returns:
- The path of the file.
This object is included in the file: CATPrintFile.h
If needed, your Imakefile.mk should include the module: CATPrint
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.