Creates an instance of the MapImageGenerator class for an XEP file.

Namespace:  ProcessMapping.ImageGeneration
Assembly:  ProcessMapping.ImageGeneration (in ProcessMapping.ImageGeneration.dll) Version: 1.0.0.3 (1.0.0.3)

Syntax

C#
public static MapImageGenerator FromFile(
	string fileName,
	string mapName,
	GetStageImage getStageImage,
	GetActionImage getActionImage
)
Visual Basic (Declaration)
Public Shared Function FromFile ( _
	fileName As String, _
	mapName As String, _
	getStageImage As GetStageImage, _
	getActionImage As GetActionImage _
) As MapImageGenerator
Visual C++
public:
static MapImageGenerator^ FromFile(
	String^ fileName, 
	String^ mapName, 
	GetStageImage^ getStageImage, 
	GetActionImage^ getActionImage
)

Parameters

fileName
Type: System..::.String
Name of the XEP file.
mapName
Type: System..::.String
Name of the map.
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.

Return Value

The instance of the MapImageGenerator class that can be used to generate images of a process

See Also