EmEditor Home - EmEditor Help - EmEditor Macro Reference - GeneralProp Object

WrapMode Property

Corresponds to the Wrap by drop-down list box in the General tab 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 Line Margin text box or Quote 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.

Copyright 2003-2014 by Emurasoft, Inc.