TdxFillOptions.HatchStyle Property
Specifies hatch pattern in Hatch fill mode.
#Declaration
property HatchStyle: TdxFillOptionsHatchStyle read; write; default TdxFillOptionsHatchStyle.Horizontal;
#Property Value
Type | Default | Description |
---|---|---|
Tdx |
Horizontal | The active hatch pattern. |
#Remarks
Use the HatchStyle
property to switch between available hatch patterns when the Mode property is set to TdxFillOptionsMode.Hatch. Color and Color2 properties define background and hatch colors for all available patterns.
#Property Value Examples
Value | Example[1] |
---|---|
Tdx |
![]() |
Tdx |
![A Diagonally Hatched Area]((~/images/Express |
Refer to the TdxFillOptionsHatchStyle type description for the full list of supported hatch styles.
#Default Value
The HatchStyle
property’s default value is TdxFillOptionsHatchStyle.Horizontal.
Note
The Hatch
property value is ignored if the Mode property is not set to Tdx
-
This example demonstrates different
HatchStyle
property values under the following conditions:- The Color property is set to TdxAlphaColors.White.
- The Color2 property is set to TdxAlphaColors.LightGray.