Replaces the page with the specified index with the new page.

Namespace:  C1.Win.C1PrintPreview
Assembly:  C1.Win.C1PrintPreview.Classic.2 (in C1.Win.C1PrintPreview.Classic.2.dll)

Syntax

C#
public void ChangePage(
	Object newPage,
	int index
)
Visual Basic (Declaration)
Public Sub ChangePage ( _
	newPage As Object, _
	index As Integer _
)

Parameters

newPage
Type: System..::.Object
New page (PreviewPage, Image or Render.Page).
index
Type: System..::.Int32
The 0-based index of the page to replace.

See Also