PixelSizeWithHeight Method

Returns a new PixelSize with the same width and the specified height.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public PixelSize WithHeight(
	int height
)

Parameters

height  Int32
The height.

Return Value

PixelSize
The new PixelSize.

See Also