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