Instance Method

initWithFrame:style:

Initializes a QLPreviewView object with a specific frame and style.

Declaration

- (id)initWithFrame:(NSRect)frame style:(QLPreviewViewStyle)style;

Parameters

frame

The frame rectangle for the initialized QLPreviewView object.

style

The desired style for the QLPreviewView object. For a list of possible styles, see QLPreviewViewStyle.

Return Value

Returns a QLPreviewView object with the designated frame and style.

Discussion

This is the designated initializer for the QLPreviewView class.

See Also

Initializing a QLPreviewView

- initWithFrame:

Initializes a QLPreviewView object with a specific frame.