Click or drag to resize

WindowLayoutSetAspectRatio Method

Method to set the aspect ratio value for the specified window. This method is supported by HD-WP-4K-401-C device only.

Namespace: Crestron.SimplSharpPro.DM
Assembly: Crestron.SimplSharpPro.DM (in Crestron.SimplSharpPro.DM.dll) Version: 2.21.121
Syntax
C#
public void SetAspectRatio(
	uint windowNumber,
	WindowLayouteDmWindowAspectRatio paramAspectRatioValue
)

Parameters

windowNumber  UInt32
Number of the Window. Maximum window number is SixteenByTen. If invalid window number is passed then the value will not be set to the given value.
paramAspectRatioValue  WindowLayouteDmWindowAspectRatio
Aspect ratio value to be set.
Exceptions
ExceptionCondition
InvalidOperationExceptionValue passed for aspect ratio value is not valid.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also