Table of Contents

Method WithHeight

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

WithHeight(Rectangle, int)

Adjusts a given rectangle with the new height.

public static Rectangle WithHeight(this Rectangle rectangle, int height)

Parameters

rectangle Rectangle

Rectangle to process.

height int

New rectangle height.

Returns

Rectangle

Rectangle object with new height.