Table of Contents

Method SetOption_ScreenshotUseRawSize

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

SetOption_ScreenshotUseRawSize(IMaaOption<ControllerOption>?, bool)

Screenshot use raw size without scaling. Please note that this option may cause incorrect coordinates on user devices with different resolutions if scaling is not performed.

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

Parameters

opt IMaaOption<ControllerOption>?

The option.

value bool

The value.

Returns

bool

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

Remarks

value: bool, eg: true; val_size: sizeof(bool)

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.