PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / C1MultiDocument Class / Outlines Property

In This Topic
    Outlines Property (C1MultiDocument)
    In This Topic
    Gets the OutlineNodeCollection containing outline nodes specified for the multi-document.

    Note that this collection does not include outlines of documents and reports contained within this multi-document. Use the MakeOutlines method to build the complete outline tree for the multi-document.

    See remarks for more details.

    Syntax
    'Declaration
     
    Public ReadOnly Property Outlines As OutlineNodeCollection
    public OutlineNodeCollection Outlines {get;}
    Remarks
    The resulting outline for the multi-document - the one that is built by the MakeOutlines method, and what is shown for instance in the preview - is comprised of outline nodes defined in the multi-document's own Outlines collection, and of outlines of documents and reports represented by the multi-document's items.

    The multi-document's own Outlines collection is processed first, and nodes from that collection are included in the resulting outline. If a node is also specified as the OutlineNode of a contained C1MultiDocumentItem (i.e. the two nodes reference the same object), the whole outline of the document or report represented by that item is inserted into the resulting outline. Depending on the value of the multi-document item's C1MultiDocumentItem.NestedOutlinesMode, the outline of the document or report is either nested within the outline node, or replaces it.

    Outlines of documents and reports represented by items that are not included in the multi-document's Outlines collection (via the item's OutlineNode property as described above) are automatically appended to the resulting outline sequentially.

    See Also