Click or drag to resize

PdfFillFormat Class

Represents formatting properties that affect filling of PDF textual or geometrical content.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.ContentPdfFillFormat

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.19
Syntax
public sealed class PdfFillFormat

The PdfFillFormat type exposes the following members.

Properties
 NameDescription
Public propertyColor

Gets or sets the fill color.

Initial value: Black.

Public propertyIsApplied

Gets or sets a value indicating whether the current PDF textual or geometrical content is filled.

Initial value: for PdfPathContent; otherwise, .

Public propertyOpacity

Gets or sets the fill opacity.

Initial value: 1.0.

Public propertyRule

Gets or sets the rule used to specify the interior of the PDF textual or geometrical content that is filled.

Initial value: NonzeroWindingNumber.

Top
Remarks

The PdfFillFormat is always applicable to PdfFormContent, is applicable to PdfTextContent and PdfPathContent if IsApplied is , and is not applicable to any other PdfVisualContentElement. The Opacity is, additionally, applicable to PdfImageContent and PdfShadingContent.

If the PdfFillFormat is not applicable, then fill-related graphics state parameters won't be written when writing the associated PdfVisualContentElement to the underlying content stream.

See Also