Creates an instance of the MapImageGenerator class based on a connection string.
Namespace:
ProcessMapping.ImageGenerationAssembly: ProcessMapping.ImageGeneration (in ProcessMapping.ImageGeneration.dll) Version: 1.0.0.3 (1.0.0.3)
Syntax
| C# |
|---|
public static MapImageGenerator FromDatabase( string connectionString, string mapName, string folderId, GetStageImage getStageImage, GetActionImage getActionImage ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FromDatabase ( _ connectionString As String, _ mapName As String, _ folderId As String, _ getStageImage As GetStageImage, _ getActionImage As GetActionImage _ ) As MapImageGenerator |
| Visual C++ |
|---|
public: static MapImageGenerator^ FromDatabase( String^ connectionString, String^ mapName, String^ folderId, GetStageImage^ getStageImage, GetActionImage^ getActionImage ) |
Parameters
- connectionString
- Type: System..::.String
The connection string used to connect to the Metastorm database.
- mapName
- Type: System..::.String
Name of the map.
- folderId
- Type: System..::.String
The ID of the folder that will be used to overlay the image.
- getStageImage
- Type: ProcessMapping.ImageGeneration..::.GetStageImage
The delegate that will be called to select the image that will be shown for stages.
- getActionImage
- Type: ProcessMapping.ImageGeneration..::.GetActionImage
The delegate that will be called to select the image that will be shown for actions.