SharpLeaf Reference > DocumentLayout Class

DocumentLayout Class

Define report master pages as an list of PageLayouts.

The DocumentLayout class can be passed to the SharpLeaf constructor, or to the SharpLeaf.SetLayout method for in-flight change of layout.

The Repeat property will define how many of the last page layouts will be repeated, therefore how many of the first page layouts will be title pages.

See some tutorials on the creation of document layouts.

public class DocumentLayout

Constructors

DocumentLayout Instance Properties

Item[Int32]Default indexer into the DocumentLayout’s list of PageLayout items
CountNumber of PageLayout items in the DocumentLayout (ReadOnly)
PagesList of PageLayout that form the DocumentLayout
RepeatNumber of last page layouts to repeat (default to 0 for all)
TitleDocument title

DocumentLayout Methods

AddAppend page layouts to document layout
CloneTake a deep copy of this instance
ContainsCheck if the given PageLayout is present in the DocumentLayout
RenderXmlGet XML form of a DocumentLayout item, that can be used in the constructor.

Requirements

Namespace: Causeway

Assembly: SharpPlot (in sharpplot.dll)


Send comments on this topic
© Dyalog Ltd 2021