Property

Method

Event

 

 

LoadlnitFile

Loads the initialization file set in the lnitFileURL property.

Syntax

    HRESULT LoadlnitFile();

Parameters

None.

Return Values

0

Success

1

Failure

Remarks

  1. Web Editor Control should be initialized before methods and properties are used. Specifying the InitFileURL property itself does not initialize it.
  2. InitFileURL property must be loaded by the LoadInitFile() method. You can reinitialize multiple times with different files using the combination of the InitFileURL property and LoadInitFile() method. The settings are applied according to where it is specified in the initialization file.

Document

Applied when a new document is opened.

Product

Not related to this method.

others

Applied at runtime.

Sample Codes

JScript

   var object;
object = document.wec;
object.lnitFileURL = "/env/namowec.env";
obj.wec.LoadlnitFile();

 

VBScript

   dim object
set object = document.editForm
object.we.lnitFielURL = "/env/namowec.env"
object.wec.LoadlinitFile

 See Also

InitFileURL