Click or drag to resize

DXFReaderNETControlShowFilledAreas Method

Converts selected entities to display with filled gradient hatches for visualization purposes.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public bool ShowFilledAreas(
	List<EntityObject> entities,
	short Transparency = 20,
	short AciColor1 = 140,
	short AciColor2 = 180
)

Parameters

entities
Type: System.Collections.GenericListEntityObject
The list of entities to display with filled areas.
Transparency (Optional)
Type: SystemInt16
The transparency level of the filled areas (0-255). Default is 20.
AciColor1 (Optional)
Type: SystemInt16
The first AutoCAD Color Index for the gradient fill. Default is 140.
AciColor2 (Optional)
Type: SystemInt16
The second AutoCAD Color Index for the gradient fill. Default is 180.

Return Value

Type: Boolean
True if the operation was successful; otherwise, false.
Remarks
This method applies gradient hatch fills to the specified entities, useful for highlighting or visualizing closed boundary areas. The gradient transitions between the two specified ACI colors.
See Also