Table of Contents

Method SetOption_ScreenshotTargetShortSide

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

SetOption_ScreenshotTargetShortSide(IMaaOption<ControllerOption>?, int)

Only one of long and short side can be set, and the other is automatically scaled according to the aspect ratio.

public static bool SetOption_ScreenshotTargetShortSide(this IMaaOption<ControllerOption>? opt, int value)

Parameters

opt IMaaOption<ControllerOption>?

The option.

value int

The value.

Returns

bool

true if the option was set successfully; otherwise, false.

Remarks

value: int, eg: 720; val_size: sizeof(int)

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.