Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.18 KB

oldheight-oldwidth-properties.md

File metadata and controls

41 lines (27 loc) · 1.18 KB
title keywords f1_keywords ms.assetid ms.date ms.localizationpriority
OldHeight, OldWidth properties
fm20.chm2001620
fm20.chm2001620
cd2c0dfb-85f3-2381-128b-4d964829e7b0
11/16/2018
medium

OldHeight, OldWidth properties

Returns the previous height or width, in points, of the control.

Syntax

object.OldHeight
object.OldWidth

The OldHeight and OldWidth property syntaxes have these parts:

Part Description
object Required. A valid object.

Remarks

OldHeight and OldWidth are read-only.

The OldHeight and OldWidth properties are automatically updated when you move or size a control. If you change the size of a control, the Height and Width properties store the new height, and OldHeight and OldWidth store the previous height.

These properties are valid only in the Layout event.

See also

[!includeSupport and feedback]