PDFView4NET WinForms Edition
MoveItem Method (PDFPageCollection)




O2S.Components.PDFView4NET Namespace > PDFPageCollection Class : MoveItem Method
Item to move.
Number of positions to move.
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
)
public: bool MoveItem( 
   PDFPage* item,
   int step
) override 
public:
bool MoveItem( 
   PDFPage^ item,
   int step
) override 

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 Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFPageCollection Class
PDFPageCollection Members