PDFium Delphi Component Docs

FillPatternRenderingFeaturesAvailable function

Unit: PDFium
Indicates whether the loaded pdfium.dll provides the FPDFPageObj_GetRenderedFillPattern export

Syntax

function FillPatternRenderingFeaturesAvailable: Boolean;

Parameters

None

Return Value

Boolean

Description

FillPatternRenderingFeaturesAvailable loads the selected PDFium module when needed and returns True if the optional FPDFPageObj_GetRenderedFillPattern entry point is present among the module's exports

With the export available, GetObjectRenderedFillPattern can rasterise the tiling pattern with which a path object is filled; without it the method returns nil for every object

Remarks

Example

if FillPatternRenderingFeaturesAvailable then
  Bmp := Pdf.GetObjectRenderedFillPattern(ObjectIndex);

See Also

TPdf.GetObjectRenderedFillPattern, TPdf.GetObjectRenderedStrokePattern, StrokePatternRenderingFeaturesAvailable