Table of Contents

Method LoadFile

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

LoadFile(string, IStringImport)

When implemented by a class, loads content from the given file with specified importer.

bool LoadFile(string fileName, IStringImport importer)

Parameters

fileName string

Name of file to load content.

importer IStringImport

Specifies importer to load content.

Returns

bool

True is succeed; otherwise false.

LoadFile(string, IStringImport, Encoding)

When implemented by a class, loads content from the given file with specified importer and specific encoding.

bool LoadFile(string fileName, IStringImport importer, Encoding encoding)

Parameters

fileName string

Name of file to load content.

importer IStringImport

Specifies importer to load content.

encoding Encoding

Specifies the character encoding to use.

Returns

bool

True is succeed; otherwise false.