All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Print Class CATPrintCaptureDialog

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATEventSubscriber
        |
        +---System.CATCommand
          |
          +---Dialog.CATDialog
            |
            +---Dialog.CATDlgWindow
              |
              +---Dialog.CATDlgDialog
                |
                +---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*,CATDlgStyle)
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(CATDialog* iFather,
const CATString& iName,
CATViewer* iViewer,
CATDlgStyle 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 void AttachViewer(CATViewer* iViewer)
Changes the viewer attached to the capture dialog.
Parameters:
iViewer
The new attached viewer.
o DetachViewer
public void DetachViewer(void )
Detaches the attached viewer from the capture dialog.
o GetNInstance
public static int GetNInstance(void )
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: CATPrint

Copyright © 2003, Dassault Systèmes. All rights reserved.