تقسيم PDF بواسطة الباركود
Connector ID: Split By Barcode
Splitting the PDF file, based on the barcode data, as a filter is a remarkable feature in PDF4me. This function is quite handy, when integrated with the Microsoft Program.
- Method: POST
- Endpoint: /api/v2/SplitPdfByBarcode_old
المعاملات
- DocNameString, Required
اسم ملف PDF المصدر بامتداد .pdf
- DocContentbase64, Required
محتوى الملف المدخل
- Barcode StringString, Required
يمكنك أخذ سلسلة الباركود المماثلة، وإضافة سلسلة الباركود التي أخذتها. لكنها يجب أن تكون في تنسيق السلسلة.
مثال - مرحبا
- مرشح الباركودEnum, Required
خيارات التصفية للنص في الباركود.
- startsWith
- endsWith
- contains
- exact
- نوع الباركودString, Required
اختر نوع الباركود.
- any
- datamatrix
- qrcode
- pdf417
- Split Barcode PageString, Required
اختر كيفية التقسيم الذي يجب أن يحدث.
- before
- after
- remove
- أدمج الصفحات التي تحتوي على باركودات متتالية متطابقةBoolean, RequiredDefault: true
يمكنك اختيار قيمة واحدة -
true
false
- Pdf Render DpiString, Required
مثال - 150
Output
- File ContentBinary
محتوى ملف الإخراج من إجراء PDF4me
- اسم الملفString
اسم ملف الإخراج من إجراء PDF4me
Header
Content-Type:application/json
Authorization: يرجى نسخ المفتاح من الرابط.
Payload
{
"docContent": "Please put PDF base64 content",
"docName": "output.pdf",
"barcodeString": "hello",
"barcodeFilter": "startsWith",
"barcodeType": "qrcode",
"splitBarcodePage": "before",
"combinePagesWithSameConsecutiveBarcodes": true,
"pdfRenderDpi": "1"
}
PDF4me api samples
- CSharp(C#)
- Java
- JavaScript
- Python
- Salesforce
- n8n
- Google Script
- AWS Lambda