PDFium Delphi Component Docs

StrokePatternRenderingFeaturesAvailable function

Unit: PDFium
Reports whether the loaded pdfium.dll exports FPDFPageObj_GetRenderedStrokePattern

Syntax

function StrokePatternRenderingFeaturesAvailable: Boolean;

Parameters

None

Return Value

Boolean

Description

StrokePatternRenderingFeaturesAvailable loads the selected PDFium module when necessary and returns True when the optional FPDFPageObj_GetRenderedStrokePattern entry point is exported

When the export is present, GetObjectRenderedStrokePattern can rasterise the tiling pattern a path object strokes with; 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