Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Insert Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnObjectCollection Class : Insert Method



index
The index position where you want to insert the object.
element
The AnnObjectBase to insert into the AnnObjectCollection.
index
The index position where you want to insert the object.
element
The AnnObjectBase to insert into the AnnObjectCollection.
Overrides UIElementCollection.Insert

Syntax

Visual Basic (Declaration) 
Overrides Public Sub Insert( _
   ByVal index As Integer, _
   ByVal element As UIElement _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectCollection
Dim index As Integer
Dim element As UIElement
 
instance.Insert(index, element)
C# 
public override void Insert( 
   int index,
   UIElement element
)
C++/CLI 
public:
void Insert( 
   int index,
   UIElement element
) override 

Parameters

index
The index position where you want to insert the object.
element
The AnnObjectBase to insert into the AnnObjectCollection.

Example

For C#/VB examples, refer to AnnObjectCollection.

Remarks

For more information, refer to UIElementCollection.Insert.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

Insert requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.