Skip to main content

PageList.Insert(Int32, Page) Method

Inserts the specified page into the list at the specified position.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.1.Core.dll

Declaration

public virtual void Insert(
    int index,
    Page page
)

Parameters

Name Type Description
index Int32

An integer value which represents the zero-based index at which the page should be inserted.

page Page

A Page object to insert into the list.

Remarks

If the index passed as a parameter to this method is less than zero, or exceeds the number of images in the collection, this method throws an exception of the ArgumentOutOfRangeException type.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Insert(Int32, Page) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also