PrintBase CATPrintFileImage
Usage: you can derive this class.
public class CATPrintFileImage
Class to create print file images.
Constructor and Destructor Index
- o
CATPrintFileImage(CATPrintFileImage&)
- Copy constructor.
- o
CATPrintFileImage(char*,int,CATString&)
- Constructs a CATPrintFileImage from memory.
- o
CATPrintFileImage(CATString&,CATString&)
- Constructs a CATPrintFileImage from a file.
- o
~CATPrintFileImage()
-
Method Index
- o
Decode(CATPrintGenerator*,CATPrintParameters&)
- Computes the print file image with the appropriate generator
and parameters.
- o
GetInterpreter(CATString&)
- Allocates the interpreter associated to the language.
- o
GetSize(float&,float&)
- Retrieves the size of the file image.
- o
GetTitle(CATUnicodeString&)
- Returns the title of the image.
Constructor and Destructor
o CATPrintFileImage
public CATPrintFileImage( | const | iFileImage) |
-
Copy constructor.
- Parameters:
-
- iFileImage
- An existing CATPrintFileImage.
o CATPrintFileImage
public CATPrintFileImage( | const | iBuffer, |
| | iBufferSize, |
| const | iLanguage) |
-
Constructs a CATPrintFileImage from memory.
- Parameters:
-
- iBuffer
- The buffer of memory.
- iBufferSize
- The size of the buffer.
- iLanguage
- The language.
The available languages used in CATIA to create an image are "CGM",
"TIFF", "RGB", "JPEG", "BMP" on both Windows and UNIX systems and "PICTURE" only
on UNIX.
o CATPrintFileImage
public CATPrintFileImage( | const | iPath, |
| const | iLanguage) |
-
Constructs a CATPrintFileImage from a file.
- Parameters:
-
- iPath
- The path of the file.
- iLanguage
- The language.
The available languages used in CATIA to create an image are "CGM",
"TIFF", "RGB", "JPEG", "BMP" on both Windows and UNIX systems and "PICTURE" only
on UNIX.
o ~CATPrintFileImage
public virtual ~CATPrintFileImage( | ) |
-
Methods
o Decode
public Decode( | | iGenerator, |
| const | iParameters) |
-
Computes the print file image with the appropriate generator
and parameters.
- Parameters:
-
- iGenerator
- The generator.
- iParameters
- The print parameters.
- Returns:
- The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o GetInterpreter
protected virtual GetInterpreter( | const | iLanguage) |
-
Allocates the interpreter associated to the language.
- Parameters:
-
- iLanguage
- The language.
o GetSize
public GetSize( | | oWidth, |
| | oHeight) |
-
Retrieves the size of the file image.
- Parameters:
-
- oWidth
- The width of the image.
- oHeight
- The height of the image.
- Returns:
- The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o GetTitle
-
Returns the title of the image.
- Returns:
- The title of the image.
This object is included in the file: CATPrintFileImage.h
If needed, your Imakefile.mk should include the module: CATPrintBase
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.