Click or drag to resize
Askia

ControlsFactoryCreateFromFileAndExtract Method (IContext, String, String)

Creates a control from a file and extract its content to a directory

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public static IControlCreationResult CreateFromFileAndExtract(
	IContext ctx,
	string srcPath,
	string dstDirectory
)

Parameters

ctx
Type: AskiaCoreIContext
Context used by the control
srcPath
Type: SystemString
Path of the file from which the control will be created
dstDirectory
Type: SystemString
Directory where the control will be extracted

Return Value

Type: IControlCreationResult
Returns the newly created control
See Also