PDFium Delphi Component Docs

StrokePatternRenderingFeaturesAvailable function

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

Syntax

function StrokePatternRenderingFeaturesAvailable: Boolean;

Parameters

None

Return Value

Boolean

Description

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

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

Remarks

Example

if StrokePatternRenderingFeaturesAvailable then
  Bmp := Pdf.GetObjectRenderedStrokePattern(ObjectIndex);

See Also

TPdf.GetObjectRenderedStrokePattern, TPdf.GetImageObjectRenderedBitmap, BezierControlPointFeaturesAvailable