XFINIUM.PDF Documentation
MoveAnnotation Method



Xfinium.Pdf.Annotations Namespace > PdfAnnotationCollection Class : MoveAnnotation 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 Function MoveAnnotation( _
   ByVal annotation As PdfAnnotation, _
   ByVal step As Integer _
) As Boolean
'Usage
 
Dim instance As PdfAnnotationCollection
Dim annotation As PdfAnnotation
Dim step As Integer
Dim value As Boolean
 
value = instance.MoveAnnotation(annotation, step)
public bool MoveAnnotation( 
   PdfAnnotation annotation,
   int step
)
public:
bool MoveAnnotation( 
   PdfAnnotation^ annotation,
   int step
) 

Parameters

annotation
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

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfAnnotationCollection Class
PdfAnnotationCollection Members