Property HatchObjectType
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
HatchObjectType
Gets or sets whether the HATCH is filled with a pattern or a gradient (group 450), as AutoCAD's HatchObjectType;
HatchObject where the record gives none.
public DxfHatchObjectType HatchObjectType { get; set; }
Property Value
- DxfHatchObjectType
Set to a gradient, the HATCH is given one as SetGradient(DxfGradientPatternType, string) gives it, LINEAR where it had none; set to a pattern, its gradient is taken out and it is filled solid, as SetHatchPattern(DxfHatchPatternType, string) fills it with SOLID.
Exceptions
- ArgumentOutOfRangeException
Thrown when the type set is not one of DxfHatchObjectType.
- InvalidOperationException
Thrown when the HATCH is erased, or a gradient is set in a file older than R2004 (AC1018).