WrapMode Property (GeneralProp Object)

Corresponds to the Wrap by drop-down list box in the General page of Configuration Properties.

[JavaScript]

nMode = object.WrapMode;
object.WrapMode = nMode;

[VBScript]

nMode = object.WrapMode
object.WrapMode = nMode

Parameters

nMode

Select from the following values.

eeWrapNone

Does not wrap lines.

eeWrapByChar

Wraps by a specified length of characters (in bytes). The length of characters can be specified at Normal<br>Line Margin text box or Quote<br>Line Margin text box.

eeWrapByWindow

Wraps according to the window width. If the window resizes, the wrapped position will resize.

eeWrapByPage

Wraps according to the printed page width.

Version

Supported on EmEditor Professional Version 7.00 or later.