BlzFrameSetSize

Parameters
frameframehandle
widthreal
heightreal
comment

Sets the frame’s width and height in Blizzard’s screen coordinates.

note

For sprite-based frames, this function may not behave as expected. In most cases, changing the size does not affect the model’s actual display size. Unless you set a special LayerStyle property in the FDF (such as 3DWINDOW or SETSVIEWPORT), it is recommended to set the frame’s size to a very small non-zero value (e.g., 0.001). If you want to control the model’s size, use BlzFrameSetScale instead.

bug

A displayed TEXTAREA must be at least 0.03 high. A smaller height can crash the game.

patch

1.31.0.11889

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
nothing
Source code
native BlzFrameSetSize                             takes framehandle frame, real width, real height returns nothing