SharpLeaf Reference > DocumentLayout Class > Repeat Property

DocumentLayout.Repeat Property

Number of last page layouts to repeat (default to 0 for all).

If zero or greater than the number of page layouts, all page layouts will be cycled through. A typical value is 2 so that the last two pages are taken as alternating left/right, while the previous pages (if any) would be used only once as title pages.

public int Repeat {get; set;}

Example

layout.Repeat = 2; // Alternate last two page layouts

See also ...

Advanced DocumentLayouts | DocumentLayout.Members


Send comments on this topic
© Dyalog Ltd 2021