PageList.Insert(Int32, Page) Method

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

Namespace: DevExpress.XtraPrinting

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

Declaration

public virtual void Insert(
    int index,
    Page page
)
Public Overridable Sub Insert(
    index As Integer,
    page As 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.

Implements

See Also