Click or drag to resize

HatchCreateBoundary Method

Creates a list of entities that represents the boundary of the hatch and optionally associates to it.

Namespace:  DXFReaderNET.Entities
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public List<EntityObject> CreateBoundary(
	bool linkBoundary
)

Parameters

linkBoundary
Type: SystemBoolean
Indicates if the new boundary will be associated with the hatch, turning the associative property to true.

Return Value

Type: ListEntityObject
A list of entities that makes the boundary of the hatch.
Remarks
If the actual hatch is already associative, the old boundary entities will be unlinked, but not deleted from the hatch document. If linkBoundary is true, the new boundary entities will be added to the same layout and document as the hatch, in case it belongs to one, so, in this case, if you also try to add the return list to the document it will cause an error.
All entities are in world coordinates except the LwPolyline boundary path since by definition its vertexes are expressed in object coordinates.
See Also