A newer version of this page is available. Switch to the current version.

PageList.Insert(Int32, Page) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll


public virtual void Insert(
    int index,
    Page page
Public Overridable Sub Insert(
    index As Integer,
    page As Page


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.


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.


See Also