PrintBase CATPrintMultiPageImage

Usage: you can derive this class.


public class CATPrintMultiPageImage



Constructor and Destructor Index


o CATPrintMultiPageImage()
Constructs a CATPrintImage.
o CATPrintMultiPageImage(CATLISTP(CATPrintImage)*,CATPrintParameters&)
Constructs a CATPrintImage with a list of images to print with the appropriate parameters.
o ~CATPrintMultiPageImage()

Method Index


o AddImage(CATPrintImage*,CATPrintParameters*)
Add an image to the list of images to print with the appropriate parameters.
o AddImage(CATBaseUnknown*,CATPrintParameters*)
Add an image to the list of images to print with the appropriate parameters.
o Decode(CATPrintGenerator*,CATPrintParameters&)
Computes the print image with the appropriate generator and parameters.
o GetSize(float&,float&)
Computes the print image with the appropriate generator and parameters.
o Print(CATPrintDevice*,CATPrintParameters&)
Initializes the device, decodes and prints the image.

Constructor and Destructor


o CATPrintMultiPageImage
public CATPrintMultiPageImage()
Constructs a CATPrintImage.
o CATPrintMultiPageImage
public CATPrintMultiPageImage( iImages,
const iParameters)
Constructs a CATPrintImage with a list of images to print with the appropriate parameters.
Parameters:
iImages
The printable images.
iParameters
The print parameters.
Returns:
The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o ~CATPrintMultiPageImage
public virtual ~CATPrintMultiPageImage()

Methods


o AddImage
public virtual AddImage( iImage,
iParameters)
Add an image to the list of images to print with the appropriate parameters.
Parameters:
iImage
The image.
iParameters
The print parameters.
Returns:
The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o AddImage
public virtual AddImage( iObject,
iParameters)
Add an image to the list of images to print with the appropriate parameters.
Parameters:
iObject
The printable object.
iParameters
The print parameters.
Returns:
The status of the method.
Legal values: 0 -> KO, 1 -> OK.
o Decode
public virtual Decode( iGenerator,
const iParameters)
Computes the print 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 GetSize
public GetSize( oWidth,
oHeight)
Computes the print 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 Print
public Print( iDevice,
const iParameters)
Initializes the device, decodes and prints the image.
Parameters:
iDevice
The device on which the image will be printed.
iParameters
The print parameters.
Returns:
The status of the method.
Legal values: 0 -> KO, 1 -> OK.

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

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