MonobjcMonobjc Documented Class Library
PreviewPanelTransitionImageForPreviewItemContentRectMessage Method (panel, item, contentRect)
NamespacesMonobjc.QuartzQLPreviewPanel..::..QLPreviewPanelDelegateEventDispatcherPreviewPanelTransitionImageForPreviewItemContentRectMessage(QLPreviewPanel, IQLPreviewItem, NSRect%)

Returns the image to use for the transition zoom effect for a given item. This method is optional.

Original signature is '- (NSImage *)previewPanel:(QLPreviewPanel *)panel transitionImageForPreviewItem:(id <QLPreviewItem>)item contentRect:(NSRect *)contentRect'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSImage PreviewPanelTransitionImageForPreviewItemContentRectMessage(
	QLPreviewPanel panel,
	IQLPreviewItem item,
	out NSRect contentRect
)
Public Function PreviewPanelTransitionImageForPreviewItemContentRectMessage ( _
	panel As QLPreviewPanel, _
	item As IQLPreviewItem, _
	<OutAttribute> ByRef contentRect As NSRect _
) As NSImage
public:
NSImage^ PreviewPanelTransitionImageForPreviewItemContentRectMessage(
	QLPreviewPanel^ panel, 
	IQLPreviewItem^ item, 
	[OutAttribute] NSRect% contentRect
)
Parameters
panel (QLPreviewPanel)
The preview panel.
item (IQLPreviewItem)
The preview item for which the transition image is required.
contentRect (NSRect%)
The rectangle within a preview image that actually represents the content of the document (for icons, the actual rectangle is typically smaller than the icon itself).
Return Value
The image to use for the transition zoom effect for the item.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.Quartz (Module: Monobjc.Quartz)