PictureBox.getSizeMode

Overview | Methods | This Package | All Packages

PictureBox.getSizeMode

Retrieves a value that indicates how the PictureBox control will render the image.

Syntax

public final int getSizeMode()

Return Value

Returns one of the enumeration constants defined in the PictureBoxSizeMode class.

Remarks

By default, the PictureBox control has a sizing mode of PictureBoxSizeMode.NORMAL, which means that the image is placed in the upper-left corner of the control's client area, and that any part of the image that will not fit into this area is clipped.

See Also   setSizeMode