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



element
The AnnObjectBase to add.
element
The AnnObjectBase to add.
Overrides UIElementCollection.Add

Syntax

Visual Basic (Declaration) 
Overrides Public Function Add( _
   ByVal element As UIElement _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectCollection
Dim element As UIElement
Dim value As Integer
 
value = instance.Add(element)
C# 
public override int Add( 
   UIElement element
)
C++/CLI 
public:
int Add( 
   UIElement element
) override 

Parameters

element
The AnnObjectBase to add.

Return Value

The index position of the added object.

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

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