OffsetType

const OffsetType: object;

When adjusting the size or location of items on a page, these are the specific operations that are available.

Type declaration

CUSTOM

readonly CUSTOM: 7 = 7;

E

readonly E: 9 = 9;

Resize from the east (right) side of the selection, stretching horizontally.

MOVE

readonly MOVE: 4 = 4;

Move the selection without resizing.

N

readonly N: 8 = 8;

Resize from the north (upper) side of the selection, stretching vertically.

NE

readonly NE: 1 = 1;

Resize from the northeast (upper-right) corner of the selection, anchoring the lower-left corner in place.

NW

readonly NW: 0 = 0;

Resize from the northwest (upper-left) corner of the selection, anchoring the lower-right corner in place.

ROTATE

readonly ROTATE: 5 = 5;

S

readonly S: 10 = 10;

Resize from the south (lower) side of the selection, stretching vertically.

SCALE

readonly SCALE: 6 = 6;

SE

readonly SE: 2 = 2;

Resize from the southeast (lower-right) corner of the selection, anchoring the upper-left corner in place.

SW

readonly SW: 3 = 3;

Resize from the southwest (lower-left) corner of the selection, anchoring the upper-right corner in place.

W

readonly W: 11 = 11;

Resize from the west (left) side of the selection, stretching horizontally.