PublishingCapture CATPrintCaptureDialog

Usage: you must use this class as is. You should never derive it.


public class CATPrintCaptureDialog

Dialog class to capture a selected zone in a viewer for print purpose.
Role: This class provides a dialog to capture and print, write in a file, or store in the album a selected zone on the attached viewer.


Constructor and Destructor Index


o CATPrintCaptureDialog(CATDialog*,CATString&,CATViewer*,CATCaptStyle)
Constructs a CATPrintCaptureDialog.
o ~CATPrintCaptureDialog()

Method Index


o AttachViewer(CATViewer*)
Changes the viewer attached to the capture dialog.
o DetachViewer(void)
Detaches the attached viewer from the capture dialog.
o GetNInstance(void)
Returns the number of capture dialog instances.

Constructor and Destructor


o CATPrintCaptureDialog
public CATPrintCaptureDialog( iFather,
const iName,
iViewer,
iStyle=NULL)
Constructs a CATPrintCaptureDialog.
Parameters:
iFather
The father of the capture dialog.
iName
The name of dialog.
iViewer
The attached viewer.
iStyle
The style of the dialog.
o ~CATPrintCaptureDialog
public virtual ~CATPrintCaptureDialog()

Methods


o AttachViewer
public AttachViewer( iViewer)
Changes the viewer attached to the capture dialog.
Parameters:
iViewer
The new attached viewer.
o DetachViewer
public DetachViewer( )
Detaches the attached viewer from the capture dialog.
o GetNInstance
public static GetNInstance( )
Returns the number of capture dialog instances.
Returns:
The number of instance.

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

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