Table of Contents

Method SetOption_ScreenshotTargetLongSide

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

SetOption_ScreenshotTargetLongSide(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_ScreenshotTargetLongSide(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: 1280; val_size: sizeof(int)

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.