ImageMan.Net Version 3 Summer 2012 Release
Add Method
See Also  Send Feedback
DTI.ImageMan Namespace > Points Class : Add Method





point
The point to add.

Glossary Item Box

Adds the specified point.

Syntax

Visual Basic (Declaration) 
Public Function Add( _
   ByVal point As System.Drawing.Point _
) As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As Points
Dim point As System.Drawing.Point
Dim value As System.Integer
 
value = instance.Add(point)
C# 
public System.int Add( 
   System.Drawing.Point point
)
JScript 
public function Add( 
   point : System.Drawing.Point
) : System.int;
Managed Extensions for C++ 
public: System.int Add( 
   System.Drawing.Point point
) 
C++/CLI 
public:
System.int Add( 
   System.Drawing.Point point
) 

Parameters

point
The point to add.

Return Value

The index of the point added or -1 if failed.

Exceptions

ExceptionDescription
System.InvalidOperationExceptionThrows InvalidOperationException if more than the allowed number of points are added to a FixedLength collection

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

© 2014 Data Techniques, Inc. All Rights Reserved.