PdfColorFromPattern(PdfColorSpace, PdfPattern, Double) Method |
Namespace: SautinSoft.Pdf.ContentAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntaxpublic static PdfColor FromPattern(
PdfColorSpace space,
PdfPattern pattern,
params double[] colorants
)
Public Shared Function FromPattern (
space As PdfColorSpace,
pattern As PdfPattern,
ParamArray colorants As Double()
) As PdfColor
Parameters
- space PdfColorSpace
- The Pattern color space.
- pattern PdfPattern
- The pattern.
- colorants Double
- The colorant values.
Return Value
PdfColor
A new
PdfColor structure in
Pattern color space created by using the specified uncolored tiling
PdfPattern and colorant values.
Exceptions
See Also