THPDFJobProcessor.ExecuteLoadedOperationWithComparison

تنفذ عملية مع مستند ثانٍ مستعار اختياري للمقارنة العامة أو التعاقدية

class function ExecuteLoadedOperationWithComparison(Document,
  ComparisonDocument: THotPDF; Op: THPDFJSONValue; Output: TStream = nil;
  Checkpoint: TNotifyEvent = nil): THPDFJSONValue;

The unit is HPDFDocJobs; the caller owns both documents, the operation, output, and returned JSON value

compare and compare.contract require two loaded documents; other operation kinds retain the behavior of ExecuteLoadedOperation

المقارنة تستعيد حدود فك الترميز وعتابت التدفقات وإعدادات AutoLaunch لكلا المستندين؛ ومصنوعات التعليقات تتراجع إضافةً عن معاملة رسمها البياني

الإخراج الثنائي يخزَّن مؤقتًا خصوصًا ويفحص الميزانية قبل النسخ إلى تدفق المستدعي؛ وفشل التدفق قد يترك بايتات مقبولة في ذلك الإخراج لكنه لا يلتزم تعليقات المصدر

نقطة الفحص تجري طوال عمل المقارنة وتحفظ استثناءات الإلغاء والميزانية

عقد مقارنة JSON وأمثلة