property OnUnsupportedFeature: TPdfUnsupportedFeatureEvent;
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 consumers do not have to manage FPDF_DOCUMENT handles directly
Pdf1.Active before calling page-scoped operations; methods that require an open document raise EPdfError otherwiseSaveAs to persistPDFium (LoadLibrary / UnloadLibrary / GetRecommendedV8Flags) can be called without a TPdf instance
procedure TForm1.PdfOnUnsupportedFeature(Sender: TObject; Feature: TPdfFeature);
begin
// react to OnUnsupportedFeature
end;