Click or drag to resize
Askia

PageTemplatesFactoryCreateFromFileAndExtract Method (IContext, ICollectionByte, String)

Creates a template 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 IPageTemplateCreationResult CreateFromFileAndExtract(
	IContext ctx,
	ICollection<byte> fileData,
	string dstDirectory
)

Parameters

ctx
Type: AskiaCoreIContext
Context used by the template
fileData
Type: System.Collections.GenericICollectionByte
File data from which the template will be created
dstDirectory
Type: SystemString
Directory where the template will be extracted

Return Value

Type: IPageTemplateCreationResult
Returns the newly created template
See Also