Table of Contents

Method OverrideImage

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.Native.dll

OverrideImage(string, IMaaImageBuffer)

Override the image which name from the value of property field e.g. "template".

public bool OverrideImage(string imageName, IMaaImageBuffer image)

Parameters

imageName string

The image name.

image IMaaImageBuffer

An MaaFramework.Binding.Buffers.IMaaImageBuffer used to set the image.

Returns

bool

true if the operation was executed successfully; otherwise, false.

OverrideImage(string, MaaImageBuffer)

Override the image which name from the value of property field e.g. "template".

public bool OverrideImage(string imageName, MaaImageBuffer image)

Parameters

imageName string

The image name.

image MaaImageBuffer

An MaaFramework.Binding.Buffers.IMaaImageBuffer used to set the image.

Returns

bool

true if the operation was executed successfully; otherwise, false.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaContext.MaaContextOverrideImage(System.IntPtr,System.String,System.IntPtr).