MonobjcMonobjc Documented Class Library
OutlineItemForSelection Method (selection)
NamespacesMonobjc.QuartzPDFDocumentOutlineItemForSelection(PDFSelection)

Returns the most likely parent PDF outline object for the selection.

Original signature is '- (PDFOutline *)outlineItemForSelection:(PDFSelection *)selection'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual PDFOutline OutlineItemForSelection(
	PDFSelection selection
)
Public Overridable Function OutlineItemForSelection ( _
	selection As PDFSelection _
) As PDFOutline
public:
virtual PDFOutline^ OutlineItemForSelection(
	PDFSelection^ selection
)
Parameters
selection (PDFSelection)
The area of the document currently selected by the user. A selection can span multiple outline items, but only the point representing the first character is considered.
Return Value
The PDF outline object that is the most likely parent of the specified selection. Note that only the point representing the first character of the selection is considered in this method.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

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