Instance Method

setContentResizingMask:

Determines how the receiver resizes its content when zooming.

Declaration

- (void)setContentResizingMask:(NSUInteger)mask;

Parameters

mask

A resizing mask. You specify a mask by combining any of the following options using the C bitwise OR operator: NSViewWidthSizable, NSViewHeightSizable. Other values are ignored.

See Also

Zooming and Resizing

- setZoomValue:

Sets the zoom value.

- zoomValue

Returns the current zoom value.

- contentResizingMask

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