EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

ChangeWidth Method

Changes the width of the selected text.

[JavaScript]

document.selection.ChangeWidth( nFlags );

[VBScript]

document.selection.ChangeWidth nFlags

Parameters

nFlags

Specifies a combination of the following values: Cannot combine eeWidthFullWidth and eeWidthHalfWidth together.

eeWidthFullWidth Converts half-width characters to full-width characters.
eeWidthHalfWidth Converts full-width characters to half-width characters.
eeWidthKatakana Applies conversion to Katakana.
eeWidthAlphanumeric Applies conversion to alphabets and numbers.
eeWidthMarks Applies conversion to marks.
eeWidthSpaces Applies conversion to spaces.
eeWidthKanaMarks Applies conversion to Kana marks.
eeWidthAllTypes Applies conversion to all applicable characters.

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2014 by Emurasoft, Inc.