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
Syntaxpublic bool ShowFilledAreas(
List<EntityObject> entities,
short Transparency = 20,
short AciColor1 = 140,
short AciColor2 = 180
)
Public Function ShowFilledAreas (
entities As List(Of EntityObject),
Optional Transparency As Short = 20,
Optional AciColor1 As Short = 140,
Optional AciColor2 As Short = 180
) As Boolean
public:
bool ShowFilledAreas(
List<EntityObject^>^ entities,
short Transparency = 20,
short AciColor1 = 140,
short AciColor2 = 180
)
member ShowFilledAreas :
entities : List<EntityObject> *
?Transparency : int16 *
?AciColor1 : int16 *
?AciColor2 : int16
(* Defaults:
let _Transparency = defaultArg Transparency 20
let _AciColor1 = defaultArg AciColor1 140
let _AciColor2 = defaultArg AciColor2 180
*)
-> bool
METHOD ShowFilledAreas(
entities AS List<EntityObject>,
Transparency AS SHORT := 20,
AciColor1 AS SHORT := 140,
AciColor2 AS SHORT := 180
) AS LOGIC
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:
BooleanTrue 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