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
boundsItemBoundsThe bounds before the drag.
handleResizeHandleThe handle.
dxintThe pointer's horizontal travel in twips.
dyintThe pointer's vertical travel in twips.
minimumintThe minimum size on each axis.
Returns
- ItemBounds
The new bounds.