Sets the three points used to define an angle object.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void SetPoints( int x1, int y1, int x2, int y2, int x3, int y3 )
Public Sub SetPoints ( _ x1 As Integer, _ y1 As Integer, _ x2 As Integer, _ y2 As Integer, _ x3 As Integer, _ y3 As Integer _ )
public: void SetPoints( int x1, int y1, int x2, int y2, int x3, int y3 )
Parameters
- x1
- Int32
Horizontal position of first point.
- y1
- Int32
Vertucal position of first point.
- x2
- Int32
Horizontal position of central point.
- y2
- Int32
Vertical position of central point.
- x3
- Int32
Horizontal position of last point.
- y3
- Int32
Vertical position of last point.
Examples
CopyC#
// create an angle object IEObjectAngle a = (IEObjectAngle)ieViewer1.Image.Annotations.CreateObject(IEObjectType.Angle); a.SetPoints(10, 10, 50, 50, 10, 80);