PdfAnnotationEditor
المعلومات العامة
PdfAnnotationEditor هي فئة في Aspose.PDF FOSS لـ .NET. الميراث من: IDisposable.
واجهة للتلاعب في التعليقات: استيراد / تصدير XFDF، حذف ، مسطح ، تحرير.
توفر هذه الفئة 39 طريقة للعمل مع PdfAnnotationEditor كائنات في برامج .NET. المنهجيات المتاحة تشمل: BindPdf, Close, DeleteAnnotation, DeleteAnnotations, Dispose, ExportAnnotationsToXfdf, ExportAnnotationsXfdf, ExtractAnnotations, FlatteningAnnotations, ImportAnnotationFromXfdf, ImportAnnotations, ImportAnnotationsFromFdf,، و 6 طرق إضافية. جميع الأعضاء العامين يمكن الوصول إليهم من أي تطبيق .NET بعد تثبيت حزمة Aspose.PDF FOSS for .Net. خصائص: Document.
خصائص
| اسم | النوع | الوصول | وصف |
|---|---|---|---|
Document | Document | اقرأ | الوثيقة المرتبطة. |
الطرق
| التوقيع | وصف |
|---|---|
PdfAnnotationEditor() | إنشاء PdfAnnotationEditor غير مقيد. |
PdfAnnotationEditor(document: Document) | إنشاء PdfAnnotationEditor مرتبط بتقرير. |
BindPdf(path: string) | ربط PDF من مسار ملف. |
BindPdf(input: byte[]) | ربط PDF من مجموعة بايت. |
BindPdf(input: Stream) | ربط PDF من تيار. |
BindPdf(document: Document) | ربط مثال مستند موجود. |
ExtractAnnotations(start: int, end: int, annotTypes: Aspose.Pdf.Annotations.AnnotationType[]) | يعيد التعليقات على الصفحات من البداية إلى النهاية (1-based، inclusive) التي يظهر نوعها في annotTypes. |
ExtractAnnotations(start: int, end: int, annotTypes: string[]) | استخراج التعليقات عبر مجموعة من الصفحات التي تم تصفيتها بواسطة سلسلة اسم النوع الفرعي. |
DeleteAnnotations() | حذف جميع التعليقات من كل الصفحات (باستثناء تعليق المجال الخاص بالوسائط/النموذج). |
DeleteAnnotations(annotType: string) | حذف التعليقات الخاصة باسم نوع فرعي معين من جميع الصفحات. |
DeleteAnnotation(annotName: string) | حذف التعليقات عن طريق الاسم (إدخال النموذج) في جميع الصفحات. |
FlatteningAnnotations() | تسطيح جميع التعليقات يزيلها من قائمة التعليمات. |
RedactArea(pageIndex: int, rect: Rectangle, color: double[]) | إعادة صياغة منطقة على الصفحة: يضيف ملخص تصحيح مع لون التعبئة الممنوحة ، ثم يسطع الإصلاح (يزيل الملخص). |
RedactArea(pageIndex: int, rect: Rectangle, r: int, g: int, b: int) | قم بتعديل منطقة على صفحة مع System.Drawing.Color متوافقة (R، G، B) اللون. |
RedactArea(pageIndex: int, rect: Rectangle, color: System.Drawing.Color) | قم بتعديل منطقة على الصفحة مع لون التعبئة الممنوح. |
ImportAnnotationsFromXfdf(xfdfStream: Stream) | استيراد التعليقات من تيار XFDF إلى المستند المرتبط. |
ImportAnnotationsFromXfdf(xfdfFile: string) | استيراد التعليقات من مسار ملف XFDF. |
ImportAnnotationFromXfdf(xfdfStream: Stream, annotType: AnnotationType[]) | استيراد التعليقات من XFDF مع نوع المرشح. |
ImportAnnotationFromXfdf(xfdfFile: string, annotType: AnnotationType[]) | استيراد التعليقات من مسار ملف XFDF مع نوع المرشح. |
ExportAnnotationsXfdf(xmlOutputStream: Stream, start: int, end: int, annotTypes: AnnotationType[]) | تصدير التعليقات إلى تيار XFDF. |
ImportAnnotations(annotFileStream: Stream[]) | استيراد التعليقات من التدفقات PDF الأخرى إلى المستند المرتبط. |
Save() | احفظ المستند إلى صفحة بايت. |
Save(path: string) | حفظ المستند إلى مسار ملف. |
Save(output: Stream) | احفظ المستند إلى التيار. |
Close() | أغلق المحرر و أطلق الوثيقة. |
Dispose() | تخلص من نفس الشيء مثل إغلاق. |
ExportAnnotationsToXfdf(xmlOutputStream: Stream) | تصدير كل التعليقات في المستند المرتبط إلى تيار XFDF. |
ExportAnnotationsXfdf(xmlOutputStream: Stream, start: int, end: int, annotTypes: string[]) | تصدير التعليقات المصفاة بواسطة سلسلة اسم النوع الفرعي. |
FlatteningAnnotations(flattenSettings: Aspose.Pdf.Forms.Form.FlattenSettings) | قم بتصفية كل التعليقات باستخدام إعدادات شكل التفصيل المقدمة. |
FlatteningAnnotations(start: int, end: int, annotType: AnnotationType[]) | التعليقات المسطحة عبر مجموعة الصفحات المصفاة حسب النوع. |
ImportAnnotationFromXfdf(xfdfStream: Stream) | استيراد التعليقات من تيار XFDF (كل نوع تعليق). |
ImportAnnotationFromXfdf(xfdfFile: string) | استيراد التعليقات من ملف XFDF (كل نوع تعليقي). |
ImportAnnotations(annotFileStream: Stream[], annotType: AnnotationType[]) | استيراد التعليقات من التدفقات PDF المصفاة حسب النوع. |
ImportAnnotations(annotFile: string[]) | استيراد التعليقات من ملفات PDF في المسارات المقدمة. |
ImportAnnotations(annotFile: string[], annotType: AnnotationType[]) | استيراد التعليقات من ملفات PDF تم تصفيتها حسب النوع. |
ImportAnnotationsFromFdf(fdfFile: string) | استيراد التعليقات من ملف FDF. |
ModifyAnnotations(start: int, end: int, annotation: Aspose.Pdf.Annotations.Annotation) | تعديل التعليقات عبر مجموعة الصفحات لتبدو مثل التعريف. |
ModifyAnnotations(start: int, end: int, annotType: System.Enum, annotation: Aspose.Pdf.Annotations.Annotation) | تعديل التعليقات من النوع المقدم عبر مجموعة الصفحات. |
ModifyAnnotationsAuthor(start: int, end: int, srcAuthor: string, desAuthor: string) | أعد كتابة مؤلف كل ملخص يطابق srcAuthor عبر نطاق الصفحة. |