All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Print Class CATPrintFile

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---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 CATString& iPath,
const CATString& iLanguage,
const void* 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 CATPrintImage* CreatePrintableImage(void )
Creates a printable image from the file.
Returns:
The printable image created.
o GetLanguage
public const CATString& GetLanguage(void ) const
Returns the language.
Returns:
The language of the file.
o GetPath
public const CATString& GetPath(void ) const
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 © 2003, Dassault Systèmes. All rights reserved.