PDF File Writer Class Library - Author Uzi Granot
PdfTilingPatternSetBrickPattern Method |
Create new PdfTilingPattern class with brick pattern.
Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)

C#
public static PdfTilingPattern SetBrickPattern( PdfDocument Document, double Scale, Color Stroking, Color NonStroking )
Parameters
- Document
- Type: PdfFileWriterPdfDocument
Current document object. - Scale
- Type: SystemDouble
Scale factor. - Stroking
- Type: System.DrawingColor
Stroking color. - NonStroking
- Type: System.DrawingColor
Non-stroking color.
Return Value
Type: PdfTilingPatternPDF tiling pattern

The pattern is a square with one user unit side.
The bottom half is one brick. The top half is two half bricks.
Arguments:
Scale the pattern to your requirements.
Stroking color is the mortar color.
Nonstroking color is the brick color.
