PDFView4NET WinForms Edition


Item to move.
Number of positions to move.
MoveItem Method (PDFPageCollection)
Moves the item up or down to the beginning or end of the collection.
Syntax
'Declaration
 
Public Overrides Function MoveItem( _
   ByVal item As PDFPage, _
   ByVal step As Integer _
) As Boolean
'Usage
 
Dim instance As PDFPageCollection
Dim item As PDFPage
Dim step As Integer
Dim value As Boolean
 
value = instance.MoveItem(item, step)
public override bool MoveItem( 
   PDFPage item,
   int step
)

Parameters

item
Item to move.
step
Number of positions to move.

Return Value

True if the item has been moved.
Remarks
It the new position is outside the collection, the item is not moved.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also