PublishingAlbum CATPrintAlbumDialog

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


public class CATPrintAlbumDialog

Class to display and manage the album contents.


Constructor and Destructor Index


o CATPrintAlbumDialog(CATDialog*,CATString&,CATDlgStyle)
Constructs a CATPrintAlbumDialog.
o ~CATPrintAlbumDialog()
Destructor

Method Index


o GetImageSelectedNotification()
Notification to indicate that the user has selected an image and this image is available The user needs to subscribe to be notified
o GetLastSelectedImage(void)
Returns the last selected image in the capture device mode or in the gallery mode
o GetNInstance(void)
Returns the number of album dialog instances.
o SetMode(eAlbumMode)
Changes the album mode.
o SetUIOrigin(unsigned int,unsigned int)
Sets the user interface origin for camera and gallery ( mail user interface position is automically computed)

Constructor and Destructor


o CATPrintAlbumDialog
public CATPrintAlbumDialog( iFather,
const iName,
iStyle=NULL)
Constructs a CATPrintAlbumDialog. With iOS the user can select between 3 modes : gallery, capture device or mail via SetMode() method. By default mode is gallery
Parameters:
iFather
The father of the album dialog.
iName
The name of dialog.
iStyle
The style of the dialog.
o ~CATPrintAlbumDialog
public virtual ~CATPrintAlbumDialog()
Destructor

Methods


o GetImageSelectedNotification
public GetImageSelectedNotification()
Notification to indicate that the user has selected an image and this image is available The user needs to subscribe to be notified
Returns:
The available image
o GetLastSelectedImage
public GetLastSelectedImage( )
Returns the last selected image in the capture device mode or in the gallery mode
Returns:
The last selected image in the capture device mode or in the gallery mode. It returns null in mail mode
o GetNInstance
public static GetNInstance( )
Returns the number of album dialog instances.
Returns:
The number of instances.
o SetMode
public SetMode( )
Changes the album mode.
Parameters:
The
album mode : with iOS the user can select between 3 modes : gallery, capture device or mail
o SetUIOrigin
public SetUIOrigin( iXUIOrigin,
iYUIOrigin)
Sets the user interface origin for camera and gallery ( mail user interface position is automically computed)
Parameters:
iXOrigin
The X user interface origin
iYOrigin
The Y user interface origin

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

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