PDF to PDF/A

يعتبر محول PDF من Documentize لـ .NET أداة قوية مصممة لتحويل مستندات PDF إلى تنسيق PDF/A، مما يضمن أن محتواك يبقى متوافقًا مع معايير الأرشفة طويلة الأمد. يدعم هذا الملحق أيضًا التحقق من المستندات الحالية بصيغة PDF من حيث الامتثال لـ PDF/A، مقدماً ميزات التحويل والتحقق في حل واحد.

كيفية تحويل PDF إلى PDF/A

لتحويل مستند PDF إلى تنسيق PDF/A، اتبع الخطوات التالية:

  1. أنشئ مثيلاً لـ PdfToPdfAOptions لتكوين عملية التحويل.
  2. حدد إصدار PDF/A المطلوب (مثل PDF/A-3B).
  3. أضف ملف PDF المدخل باستخدام طريقة AddInput.
  4. أضف ملف الإخراج للـ PDF/A الناتج باستخدام طريقة AddOutput.
  5. استدعِ طريقة Convert لتنفيذ التحويل.
 1// Create the options class to set up the conversion process
 2var options = new PdfToPdfAOptions
 3{
 4    PdfAVersion = PdfAStandardVersion.PDF_A_3B
 5};
 6
 7// Add the source file
 8options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf")); // replace with your actual file path
 9
10// Add the path to save the converted file
11options.AddOutput(new FileDataSource("path_to_the_converted_file.pdf"));
12
13// Run the conversion
14PdfConverter.Convert(options);

التحقق من امتثال PDF/A

يمكنك التحقق من ملفات PDF الحالية لمعرفة ما إذا كانت متوافقة مع PDF/A باستخدام فئة PdfAValidateOptions.

 1// Create the options class to set up the validation process
 2var options = new PdfAValidateOptions
 3{
 4    PdfAVersion = PdfAStandardVersion.PDF_A_1A
 5};
 6
 7// Add one or more files to be validated
 8options.AddInput(new FileDataSource("path_to_your_first_pdf_file.pdf")); // replace with your actual file path
 9options.AddInput(new FileDataSource("path_to_your_second_pdf_file.pdf"));
10// add more files as needed
11
12// Run the validation and get results
13var resultContainer = PdfConverter.Validate(options);
14
15// Check the resultContainer.ResultCollection property for validation results for each file:
16for (var i = 0; i < resultContainer.ResultCollection.Count; i++)
17{
18    var result = resultContainer.ResultCollection[i];
19    var validationResult = (PdfAValidationResult) result.Data;
20    var isValid = validationResult.IsValid; // Validation result for the i-th document
21}

الميزات الرئيسية:

  • التحويل إلى PDF/A: تحويل ملفات PDF بسلاسة إلى تنسيق PDF/A (مثل PDF/A-1a، PDF/A-2b، PDF/A-3b) لضمان الامتثال لمعايير الأرشفة.
  • التحقق من امتثال PDF/A: تحقق من المستندات الحالية بصيغة PDF لمعرفة مدى توافقها مع معايير PDF/A وتحديد المشاكل إذا لم تتوافق.
  • تدفق عمل فعال: تقليل الوقت والجهد من خلال عمليات التحويل السريعة والموثوقة.
 عربي