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
optIMaaOption<ControllerOption>?-
The option.
valueint-
The value.
Returns
Remarks
value: int, eg: 720; val_size: sizeof(int)
Exceptions
- ArgumentNullException
- NotSupportedException
-
The
optorvalueis not supported.