menu

Document Processing

PdfHatchStyle Class - C# PDF Library API Reference | Syncfusion

    Show / Hide Table of Contents

    PdfHatchStyle Class

    Specifies constant values for hatch patterns used in PDF graphics.

    Inheritance
    System.Object
    PdfHatchStyle
    Namespace: Syncfusion.Pdf.Graphics
    Assembly: Syncfusion.Pdf.Base.dll
    Syntax
    public sealed class PdfHatchStyle : Enum

    Fields

    BackwardDiagonal

    Specifies a pattern of lines on a diagonal from upper right to lower left.

    Declaration
    public const PdfHatchStyle BackwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    Cross

    Specifies a pattern of horizontal and vertical lines that cross.

    Declaration
    public const PdfHatchStyle Cross
    Field Value
    Type
    PdfHatchStyle

    DarkDownwardDiagonal

    Specifies diagonal lines that slant to the right from top points to bottom points, are spaced 50 percent closer together than, and are twice the width of ForwardDiagonal.

    Declaration
    public const PdfHatchStyle DarkDownwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    DarkHorizontal

    Specifies horizontal lines that are spaced 50 percent closer together than Horizontal and are twice its width.

    Declaration
    public const PdfHatchStyle DarkHorizontal
    Field Value
    Type
    PdfHatchStyle

    DarkUpwardDiagonal

    Specifies diagonal lines that slant to the left from top points to bottom points, are spaced 50 percent closer together than BackwardDiagonal, and are twice its width.

    Declaration
    public const PdfHatchStyle DarkUpwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    DarkVertical

    Specifies vertical lines that are spaced 50 percent closer together than Vertical and are twice its width.

    Declaration
    public const PdfHatchStyle DarkVertical
    Field Value
    Type
    PdfHatchStyle

    DashedDownwardDiagonal

    Specifies dashed diagonal lines that slant to the right from top points to bottom points.

    Declaration
    public const PdfHatchStyle DashedDownwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    DashedHorizontal

    Specifies dashed horizontal lines.

    Declaration
    public const PdfHatchStyle DashedHorizontal
    Field Value
    Type
    PdfHatchStyle

    DashedUpwardDiagonal

    Specifies dashed diagonal lines that slant to the left from top points to bottom points.

    Declaration
    public const PdfHatchStyle DashedUpwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    DashedVertical

    Specifies dashed vertical lines.

    Declaration
    public const PdfHatchStyle DashedVertical
    Field Value
    Type
    PdfHatchStyle

    DiagonalBrick

    Specifies a hatch pattern that has the appearance of layered bricks that slant to the left from top points to bottom points.

    Declaration
    public const PdfHatchStyle DiagonalBrick
    Field Value
    Type
    PdfHatchStyle

    DiagonalCross

    Specifies a pattern of crisscross diagonal lines.

    Declaration
    public const PdfHatchStyle DiagonalCross
    Field Value
    Type
    PdfHatchStyle

    Divot

    Specifies a hatch pattern that has the appearance of divots.

    Declaration
    public const PdfHatchStyle Divot
    Field Value
    Type
    PdfHatchStyle

    DottedDiamond

    Specifies forward diagonal and backward diagonal lines, each composed of dots, that cross.

    Declaration
    public const PdfHatchStyle DottedDiamond
    Field Value
    Type
    PdfHatchStyle

    DottedGrid

    Specifies horizontal and vertical lines, each composed of dots, that cross.

    Declaration
    public const PdfHatchStyle DottedGrid
    Field Value
    Type
    PdfHatchStyle

    ForwardDiagonal

    Specifies a pattern of lines on a diagonal from upper left to lower right.

    Declaration
    public const PdfHatchStyle ForwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    Horizontal

    Specifies a pattern of horizontal lines.

    Declaration
    public const PdfHatchStyle Horizontal
    Field Value
    Type
    PdfHatchStyle

    HorizontalBrick

    Specifies a hatch pattern that has the appearance of horizontally layered bricks.

    Declaration
    public const PdfHatchStyle HorizontalBrick
    Field Value
    Type
    PdfHatchStyle

    LargeCheckerBoard

    Specifies a hatch pattern that has the appearance of a checkerboard with squares that are twice the size of SmallCheckerBoard.

    Declaration
    public const PdfHatchStyle LargeCheckerBoard
    Field Value
    Type
    PdfHatchStyle

    LargeConfetti

    Specifies a hatch pattern that has the appearance of larger pieces of confetti.

    Declaration
    public const PdfHatchStyle LargeConfetti
    Field Value
    Type
    PdfHatchStyle

    LargeGrid

    Specifies the hatch style for large grid.

    Declaration
    public const PdfHatchStyle LargeGrid
    Field Value
    Type
    PdfHatchStyle

    LightDownwardDiagonal

    Specifies diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent closer together than ForwardDiagonal.

    Declaration
    public const PdfHatchStyle LightDownwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    LightHorizontal

    Specifies horizontal lines that are spaced 50 percent closer together than Horizontal.

    Declaration
    public const PdfHatchStyle LightHorizontal
    Field Value
    Type
    PdfHatchStyle

    LightUpwardDiagonal

    Specifies diagonal lines that slant to the left from top points to bottom points and are spaced 50 percent closer together than BackwardDiagonal.

    Declaration
    public const PdfHatchStyle LightUpwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    LightVertical

    Specifies vertical lines that are spaced 50 percent closer together than Vertical.

    Declaration
    public const PdfHatchStyle LightVertical
    Field Value
    Type
    PdfHatchStyle

    Max

    Specifies the maximum hatch style value.

    Declaration
    public const PdfHatchStyle Max
    Field Value
    Type
    PdfHatchStyle

    Min

    Specifies the minimum hatch style value.

    Declaration
    public const PdfHatchStyle Min
    Field Value
    Type
    PdfHatchStyle

    NarrowHorizontal

    Specifies horizontal lines that are spaced 75 percent closer together than Horizontal.

    Declaration
    public const PdfHatchStyle NarrowHorizontal
    Field Value
    Type
    PdfHatchStyle

    NarrowVertical

    Specifies vertical lines that are spaced 75 percent closer together than Vertical.

    Declaration
    public const PdfHatchStyle NarrowVertical
    Field Value
    Type
    PdfHatchStyle

    OutlinedDiamond

    Specifies forward diagonal and backward diagonal lines that cross but are not antialiased.

    Declaration
    public const PdfHatchStyle OutlinedDiamond
    Field Value
    Type
    PdfHatchStyle

    Percent05

    Specifies a 5-percent hatch pattern. The ratio of foreground color to background color is 5:95.

    Declaration
    public const PdfHatchStyle Percent05
    Field Value
    Type
    PdfHatchStyle

    Percent10

    Specifies a 10-percent hatch pattern. The ratio of foreground color to background color is 10:90.

    Declaration
    public const PdfHatchStyle Percent10
    Field Value
    Type
    PdfHatchStyle

    Percent20

    Specifies a 20-percent hatch pattern. The ratio of foreground color to background color is 20:80.

    Declaration
    public const PdfHatchStyle Percent20
    Field Value
    Type
    PdfHatchStyle

    Percent25

    Specifies a 25-percent hatch pattern. The ratio of foreground color to background color is 25:75.

    Declaration
    public const PdfHatchStyle Percent25
    Field Value
    Type
    PdfHatchStyle

    Percent30

    Specifies a 30-percent hatch pattern. The ratio of foreground color to background color is 30:70.

    Declaration
    public const PdfHatchStyle Percent30
    Field Value
    Type
    PdfHatchStyle

    Percent40

    Specifies a 40-percent hatch pattern. The ratio of foreground color to background color is 40:60.

    Declaration
    public const PdfHatchStyle Percent40
    Field Value
    Type
    PdfHatchStyle

    Percent50

    Specifies a 50-percent hatch pattern. The ratio of foreground color to background color is 50:50.

    Declaration
    public const PdfHatchStyle Percent50
    Field Value
    Type
    PdfHatchStyle

    Percent60

    Specifies a 60-percent hatch pattern. The ratio of foreground color to background color is 60:40.

    Declaration
    public const PdfHatchStyle Percent60
    Field Value
    Type
    PdfHatchStyle

    Percent70

    Specifies a 70-percent hatch pattern. The ratio of foreground color to background color is 70:30.

    Declaration
    public const PdfHatchStyle Percent70
    Field Value
    Type
    PdfHatchStyle

    Percent75

    Specifies a 75-percent hatch pattern. The ratio of foreground color to background color is 75:25.

    Declaration
    public const PdfHatchStyle Percent75
    Field Value
    Type
    PdfHatchStyle

    Percent80

    Specifies an 80-percent hatch pattern. The ratio of foreground color to background color is 80:20.

    Declaration
    public const PdfHatchStyle Percent80
    Field Value
    Type
    PdfHatchStyle

    Percent90

    Specifies a 90-percent hatch pattern. The ratio of foreground color to background color is 90:10.

    Declaration
    public const PdfHatchStyle Percent90
    Field Value
    Type
    PdfHatchStyle

    Plaid

    Specifies a hatch pattern that has the appearance of plaid material.

    Declaration
    public const PdfHatchStyle Plaid
    Field Value
    Type
    PdfHatchStyle

    Shingle

    Specifies a hatch pattern that has the appearance of diagonally layered shingles that slant to the right from top points to bottom points.

    Declaration
    public const PdfHatchStyle Shingle
    Field Value
    Type
    PdfHatchStyle

    SmallCheckerBoard

    Specifies a hatch pattern that has the appearance of a checkerboard.

    Declaration
    public const PdfHatchStyle SmallCheckerBoard
    Field Value
    Type
    PdfHatchStyle

    SmallConfetti

    Specifies a hatch pattern that has the appearance of confetti.

    Declaration
    public const PdfHatchStyle SmallConfetti
    Field Value
    Type
    PdfHatchStyle

    SmallGrid

    Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than Cross.

    Declaration
    public const PdfHatchStyle SmallGrid
    Field Value
    Type
    PdfHatchStyle

    SolidDiamond

    Specifies a hatch pattern that has the appearance of a checkerboard placed diagonally.

    Declaration
    public const PdfHatchStyle SolidDiamond
    Field Value
    Type
    PdfHatchStyle

    Sphere

    Specifies a hatch pattern that has the appearance of spheres laid adjacent to one another.

    Declaration
    public const PdfHatchStyle Sphere
    Field Value
    Type
    PdfHatchStyle

    Trellis

    Specifies a hatch pattern that has the appearance of a trellis.

    Declaration
    public const PdfHatchStyle Trellis
    Field Value
    Type
    PdfHatchStyle

    Vertical

    Specifies a pattern of vertical lines.

    Declaration
    public const PdfHatchStyle Vertical
    Field Value
    Type
    PdfHatchStyle

    Wave

    Specifies horizontal lines that are composed of tildes.

    Declaration
    public const PdfHatchStyle Wave
    Field Value
    Type
    PdfHatchStyle

    Weave

    Specifies a hatch pattern that has the appearance of woven material.

    Declaration
    public const PdfHatchStyle Weave
    Field Value
    Type
    PdfHatchStyle

    WideDownwardDiagonal

    Specifies diagonal lines that slant to the right from top points to bottom points, have the same spacing as ForwardDiagonal, and are triple its width.

    Declaration
    public const PdfHatchStyle WideDownwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    WideUpwardDiagonal

    Specifies diagonal lines that slant to the left from top points to bottom points, have the same spacing as BackwardDiagonal, and are triple its width.

    Declaration
    public const PdfHatchStyle WideUpwardDiagonal
    Field Value
    Type
    PdfHatchStyle

    ZigZag

    Specifies horizontal lines that are composed of zigzags.

    Declaration
    public const PdfHatchStyle ZigZag
    Field Value
    Type
    PdfHatchStyle
    Back to top Generated by DocFX
    OSZAR »
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved
    OSZAR »