Solid Edge FrameworkSupport Type Library
AddByObjects Method
Specifies the number of objects in the Objects array
Specifies the geometric objects such as lines, arcs, circles, and so forth that define the boundary.
Specifies the coordinates of the flood point.
Specifies the coordinates of the flood point.
Description
For Boundary2d objects, create an object that fills a region defined by the flood point and specified geometric objects. For ComplexString2d objects, creates an object from an array of end-connected graphic objects.
Syntax
Visual Basic
Public Function AddByObjects( _
   ByVal ObjectCount As Long, _
   ByRef Objects() As Object, _
   ByVal xFlood As Double, _
   ByVal yFlood As Double _
) As Boundary2d
Parameters
ObjectCount
Specifies the number of objects in the Objects array
Objects
Specifies the geometric objects such as lines, arcs, circles, and so forth that define the boundary.
xFlood
Specifies the coordinates of the flood point.
yFlood
Specifies the coordinates of the flood point.
Remarks
The active Fill Style is assigned to the Boundary2d created by this method. The objects in the Objects array do not need to be end-point connected or ordered in any way. This method searches through the array and finds the objects that define the smallest closed region that encloses the given flood point. A dependence relationship is established between the bounding objects and the Boundary2d. If one of the bounding objects is modified after creating a Boundary2d with this method, the Boundary2d attempts to re-compute its geometry to fill the new region.
See Also

Boundaries2d Collection  | Boundaries2d Members