| ControlsFactoryCreateFromFileAndExtract Method (IContext, ICollectionByte, 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,
ICollection<byte> fileData,
string dstDirectory
)
Public Shared Function CreateFromFileAndExtract (
ctx As IContext,
fileData As ICollection(Of Byte),
dstDirectory As String
) As IControlCreationResult
public:
static IControlCreationResult^ CreateFromFileAndExtract(
IContext^ ctx,
ICollection<unsigned char>^ fileData,
String^ dstDirectory
)
Parameters
- ctx
- Type: AskiaCoreIContext
Context used by the control - fileData
- Type: System.Collections.GenericICollectionByte
File data from which the control will be created - dstDirectory
- Type: SystemString
Directory where the control will be extracted
Return Value
Type:
IControlCreationResultReturns the newly created control
See Also