Returns the screen rectangle for a given preview item. This method is optional.
Original signature is '- (NSRect)previewPanel:(QLPreviewPanel *)panel sourceFrameOnScreenForPreviewItem:(id <QLPreviewItem>)item'
Available in Mac OS X v10.6 and later.

C# | Visual Basic | Visual C++ |
NSRect PreviewPanelSourceFrameOnScreenForPreviewItem( QLPreviewPanel panel, IQLPreviewItem item )
Function PreviewPanelSourceFrameOnScreenForPreviewItem ( _ panel As QLPreviewPanel, _ item As IQLPreviewItem _ ) As NSRect
NSRect PreviewPanelSourceFrameOnScreenForPreviewItem( QLPreviewPanel^ panel, IQLPreviewItem^ item )

- panel (QLPreviewPanel)
- The preview panel.
- item (IQLPreviewItem)
- The preview item for which the screen rectangle is required.

The screen rectangle for the given preview item. Return NSZeroRect if there is no origin point (this will produce a fade of the panel).

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)