Namespace: Consultingwerk.BusinessEntityDesigner.Plugins
Class 
SaveImagePlugin Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.BusinessEntityDesigner.IBusinessEntityDesignerPlugin

File:SaveImagePlugin
Purpose:Saves an Image (PNG) of the Business Entity Design whenever
the .bedgm file is saved
Description:Stores the Image of the Design Canvas in the same folder
that contains the .bedgm file of the Business Entity
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon May 26 12:27:11 CEST 2014



Top Method Summary
Options Name Purpose
# AfterFileSaveHandler (Object, FileEventArgs) Event handler for the AfterFileSave event of the Controller
# ExportToPicture (Stream, ImageFormat) Exports the Diagram to the picture
+ Shutdown () Shuts down the plugin
+ Startup (dataset, BusinessEntityDatasetController, BusinessEntityDesignerForm, UltraToolbarsManager) Initializes the plugin


Method Detail
Top

PROTECTED AfterFileSaveHandler (Object, FileEventArgs)

Purpose: Event handler for the AfterFileSave event of the Controller
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.BusinessEntityDesigner.Services.FileEventArgs
The FileEventArgs with the data for this event
Top

PROTECTED ExportToPicture (Stream, ImageFormat)

Purpose: Exports the Diagram to the picture
Notes:

Parameters:
poStream System.IO.Stream
The Stream to export to
poFormat System.Drawing.Imaging.ImageFormat
The image format
Top

PUBLIC Shutdown ()

Purpose: Shuts down the plugin
Notes:

Top

PUBLIC Startup (dataset, BusinessEntityDatasetController, BusinessEntityDesignerForm, UltraToolbarsManager)

Purpose: Initializes the plugin
Notes:

Parameters:
dsBusinessEntity DATASET dsBusinessEntity
Business Entity with the Design dataset, called with the BIND keyword
poController Consultingwerk.BusinessEntityDesigner.Services.BusinessEntityDatasetController
The BusinessEntityDatasetController
poForm Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityDesignerForm
The main Form of the BusinessEntityDesigner
poToolbar Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The reference to the UltraToolbarsManager used by the BusinessEntityDesigner


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:10:02