ValidateLinearizationFile
Document inspection, Optimisation
תיאור
Performs an independent structural audit of a Fast Web View PDF and stores a machine-readable validation report
הביקורת בודקת את מילון הליניאריזציה, את אורך הקובץ, את טווח ה-hint הראשי, את טבלאות הסיביות של היסטי עמודים ואובייקטים משותפים, את אובייקט וטווח הבייטים של העמוד הראשון, את סגירת התלויות של העמוד הראשון, את ספירת העמודים ואת רשומת ה-cross-reference הראשית
תחביר
Delphi
Function TPDFlib.ValidateLinearizationFile(Const InputFileName, Password: WideString): Integer;DLL
int DLValidateLinearizationFile(int InstanceID, const wchar_t* InputFileName, const wchar_t* Password);ActiveX
Function PDFlib::ValidateLinearizationFile(InputFileName As String, Password As String) As Longפרמטרים
| InputFileName | קובץ ה-PDF לבדיקה |
|---|---|
| Password | הסיסמה הדרושה לבחינת נתוני hint מוצפנים, או מחרוזת ריקה |
ערכים מוחזרים
| 1 | הקובץ עבר כל בדיקת ליניאריזציה נדרשת וכל בדיקת שלמות של העמוד הראשון |
|---|---|
| 0 | הקובץ חסר, בלתי קריא, לא ליניארי, או שיש לו לפחות מבנה ליניאריזציה לא תקין אחד |
הערות
Call GetLinearizationValidationReport after this method to retrieve the JSON result and byte metrics
A failed hint audit does not change normal PDF loading because hint data is treated only as a delivery optimisation