Instance Method

setZoomValue:

Sets the zoom value.

Declaration

- (void)setZoomValue:(float)aValue;

Parameters

aValue

The zoom value. This value should be greater or equal to zero and less or equal than one. A zoom value of zero corresponds to the minimum size (40x40 pixels). A zoom value of one means images fits the browser bounds. Other values are interpolated.

Discussion

You must use setZoomValue or setCellSize:, but not both. Setting the zoom value changes the cell size, and vice versa.

See Also

Zooming and Resizing

- zoomValue

Returns the current zoom value.

- setContentResizingMask:

Determines how the receiver resizes its content when zooming.

- contentResizingMask

Returns the receiver’s content resizing mask, which determines how its content is resized while zooming.