Table of Contents

Method TryResize

Namespace
MaaFramework.Binding.Buffers
Assembly
MaaFramework.Binding.dll

TryResize(THandle, int, int)

Resizes the image.

public static abstract bool TryResize(THandle handle, int width, int height)

Parameters

handle THandle

The MaaImageBufferHandle.

width int

The target width.

height int

The target height.

Returns

bool

true if the image was resized successfully; otherwise, false.