Click or drag to resize

PdfColorFromPattern(PdfPattern) Method

Creates a new PdfColor structure in Pattern color space by using the specified PdfPattern.

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntax
public static PdfColor FromPattern(
	PdfPattern pattern
)

Parameters

pattern  PdfPattern
The pattern.

Return Value

PdfColor
A new PdfColor structure in Pattern color space created by using the specified PdfPattern.
Exceptions
ExceptionCondition
ArgumentNullExceptionpattern is .
ArgumentExceptionpattern is uncolored.
See Also