Instance Method

initWithFrame:

Initializes a QLPreviewView object with a specific frame.

Declaration

- (id)initWithFrame:(NSRect)frame;

Parameters

frame

The frame rectangle for the initialized QLPreviewView object.

Return Value

Returns a QLPreviewView object with the designated frame and the default style.

Discussion

Calling this method is equivalent to calling initWithFrame:style: with the style parameter being QLPreviewViewStyleNormal.

See Also

Initializing a QLPreviewView

- initWithFrame:style:

Initializes a QLPreviewView object with a specific frame and style.