function ImportPreferences(Pdf: TPdf): Boolean;
Bit set controlling how ImportPages copies content (resources, named destinations, comments and so on)
Set this before calling ImportPages
Wraps the corresponding PDFium API and exposes it as a TPdf instance member so consumers need not 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
if Pdf1.Active then
Pdf1.ImportPreferences(SourcePdf);