Table of Contents

Method Resize

Namespace
ReportWright.Design
Assembly
ReportWright.Design.dll

Resize(ItemBounds, ResizeHandle, int, int, int)

The bounds a resize produces: the dragged edges move, the opposite edges stay pinned, and a size below the minimum clamps instead of inverting (A.3.3).

public static ItemBounds Resize(ItemBounds bounds, ResizeHandle handle, int dx, int dy, int minimum = 216)

Parameters

bounds ItemBounds

The bounds before the drag.

handle ResizeHandle

The handle.

dx int

The pointer's horizontal travel in twips.

dy int

The pointer's vertical travel in twips.

minimum int

The minimum size on each axis.

Returns

ItemBounds

The new bounds.