set_size


Description:

[ Version ( deprecated = true , deprecated_since = "4.18.1" , since = "4.8" ) ]
public void set_size (int size)

Warning: set_size is deprecated since 4.18.1.

This will force an image size, instead of looking at the allocation size, see introduction for more details.

Note:

Use set_pixel_size or set the size from the Image storage type instead.

You can set a size of -1 to turn this off.

Parameters:

this

an PanelImage.

size

a new size in pixels.