Partilhar via


Imagelist.autoResize Method

Definition

Overloads

autoResize()

Sets the Boolean autoResize flag, which determines whether new images are automatically resized.

autoResize(Boolean)

autoResize()

Sets the Boolean autoResize flag, which determines whether new images are automatically resized.

public:
 virtual bool autoResize();
public virtual bool autoResize ();
abstract member autoResize : unit -> bool
override this.autoResize : unit -> bool
Public Overridable Function autoResize () As Boolean

Returns

Remarks

If the autoResize flag is set to true, any image that you add to the list is automatically resized to the dimensions that were specified when you created the image list.

Applies to

autoResize(Boolean)

public:
 virtual bool autoResize(bool _value);
public virtual bool autoResize (bool _value);
abstract member autoResize : bool -> bool
override this.autoResize : bool -> bool
Public Overridable Function autoResize (_value As Boolean) As Boolean

Parameters

_value
Boolean

A Boolean value that determines whether the autoResize flag is set; optional.

Returns

Applies to