PrintBase class CATPrintDriverManager

Usage: you can derive this class.


public class CATPrintDriverManager

Class to manage print drivers
Role:


Method Index


o GetAvailableLanguages(void)
Retrieves the list of all availables languages.
o GetDescription(CATString&)
Retrieves the description corresponding to the language in parameter
o GetGenerator(CATString&)
Retrieves a generator corresponding to the language in parameter ( It is CATBaseUnknown object, so don't forget to call Release() after using it )

Methods


o GetAvailableLanguages
public static const CATLISTV(CATString)& GetAvailableLanguages(void )
Retrieves the list of all availables languages. For each language, a corresponding generator exists
Returns:
The languages list
o GetDescription
public static const CATUnicodeString& GetDescription( const CATString& iLanguage)
Retrieves the description corresponding to the language in parameter
Parameters:
iLanguage
The language used
Returns:
The retrieved description
o GetGenerator
public static CATPrintFileGenerator* GetGenerator( const CATString& iLanguage)
Retrieves a generator corresponding to the language in parameter ( It is CATBaseUnknown object, so don't forget to call Release() after using it )
Parameters:
iLanguage
The language used
Returns:
The retrieved generator

This object is included in the file: CATPrintDriverManager.h
If needed, your Imakefile.mk should include the module: CATPrintBase

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.