PDFium Delphi Component Docs

OnUnsupportedFeature property

Component: TPdf  ·  Unit: PDFium
Fired when the document uses a PDF feature that PDFium does not implement (e.g. XFA full forms, 3D annotations, multimedia)

Syntax

property OnUnsupportedFeature: TPdfUnsupportedFeatureEvent;

Description

Fired when the document uses a PDF feature that PDFium does not implement (e.g. XFA full forms, 3D annotations, multimedia)

Inspect the feature parameter to decide how to inform the user; the document still opens

The Feature parameter is a TPdfFeature value: feUnknown, feXfaForm, fePortableCollection, feAttachment, feSecurity, feSharedReview, feSharedFormAcrobat, feSharedFormFilesystem, feSharedFormEmail, fe3dAnnotation, feMovieAnnotation, feSoundAnnotation, feScreenMediaAnnotation, feScreenRichMediaAnnotation, feAttachmentAnnotation, or feSignatureAnnotation

Wraps the corresponding PDFium API and exposes it as a TPdf instance member so that consumers do not have to manage FPDF_DOCUMENT handles directly

Remarks

Example

procedure TForm1.PdfOnUnsupportedFeature(Sender: TObject; Feature: TPdfFeature);
begin
  // react to OnUnsupportedFeature
end;

See Also

XFA, TPdfFeature