The IEObjectPolyLine type exposes the following methods.
Methods
| Member | Description | |
|---|---|---|
| AddPoint(Int32, Int32) |
Add a point to the end of a polyline.
| |
| CalculateArea()()()() |
Returns the area of the specified polyline. It closes the polyline if necessary.
| |
| CalculateCentroid()()()() |
Calculates x,y centroid coordinates of the specified polyline. The point is in bitmap coordinates.
| |
| CalculateLength()()()() | Returns the length (perimeter) of the specified polyline. If polyline is made of two point, GetPolylineLen calculates the line length; if polyline is made of three or more points it calculates the perimeter. | |
| CopyTo(IEAnnotations) |
Copies the object to another IEAnnotation class
| |
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetPoints(Int32) | GetPoints allows to get the points the makes the polyline. Use PointsCount to know how much points contains the polyline. | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsVisible()()()() |
Checks if this object is visible.
| |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveJaggedEdges()()()() | RemoveJahhedEdges eliminates the jagged edges from a polygon. This function can smooth angles. | |
| RemovePoint(Int32) |
Removes a point from the polyline.
| |
| Rotate(Double, IERCenter) | Rotates all objects by the specified angle (in degrees). If center is Image only 90/180/270 degrees rotations are allowed. BOX, ELLIPSE, BITMAP and TEXT can be rotated only by 90/180/270 degrees. This method doesn't work with MEMO and curved texts. It is better to call RotateAll before rotate the background image. | |
| SetBackTo(IEObject) |
Moves the object back to the specified one.
| |
| SetInFronOf(IEObject) |
Moves the object over the specified one.
| |
| SetPoints(array<IEPoint>[]()[][], Int32) |
Specifies the points that compose the polyline for the polyline object. The points are specified in bitmap coordinates.
| |
| Simplify(Int32) |
SimplifyPolygon approximates a high resolution polyline with a smaller low resolution polyline having fewer vertices (MaxPoints).
| |
| StretchTextRect()()()() | Stretches text rectangle to the size required to display the whole text. Note: borders (see ObjPenWidth) can hide some text. To avoid this disable ZoomObjectsWidth. This method works only with horizontal text and only for iekTEXT objects. | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |